#04700A

A color in the Green family

#04700a is a color in the Green family: RGB(4, 112, 10), HSL(123°, 93%, 23%), CMYK(96%, 0%, 91%, 56%). Closest named color: darkgreen. Contrast is 6.31:1 on white and 3.33:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#04700a
RGBrgb(4 112 10)
RGB (legacy)rgb(4, 112, 10)
RGB %rgb(2% 44% 4%)
HSLhsl(123 93% 23%)
HSV / HSBhsv(123, 96%, 44%)
HWBhwb(123 2% 56%)
CMYKcmyk(96%, 0%, 91%, 56%)
CIELAB (D50)lab(40.67 -42.51 41.92)
LCHlch(40.67 59.7 135.4)
OKLaboklab(0.4732 -0.125 0.0943)
OKLCHoklch(0.4732 0.1566 142.96)
Decimal290826

Properties

Color ToneGreen
Closest named colordarkgreen ΔE 3.8
Closest web-safe color#006600
Hue123°
Saturation (HSL / HSV)93% / 96%
Lightness (HSL)23%
Brightness or Value (HSV)44%
Luminance (Rec.601 / Rec.709)27% / 32%
Relative luminance (WCAG)0.1164
Red / Green / Blue4 / 112 / 10

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.31:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.33:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 80.7 / -21.1 · As background with white / black text: Lc -85.9 / 23.3

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #04700a;
  --color-brand-oklch: oklch(47.32% 0.1566 142.96);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(4 112 10 / 50%); }
/* Tailwind CSS */
<div class="bg-[#04700a] text-[#04700a] border-[#04700a]">