#04850E#04850E

#04850E is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.5% C 0.177 H 143.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#04850E
RGBrgb(4, 133, 14)
HSLhsl(125, 94%, 27%)
HSVhsv(125, 97%, 52%)
CMYKcmyk(97%, 0%, 89.5%, 47.8%)
CIE-LABlab(48.05, -52.33, 48.61)
CIE-LCHlch(48.05, 71.42, 137.11°)
OKLaboklab(53.52% -0.1417 0.1067)
OKLCHoklch(53.52% 0.177 143)
XYZxyz(8.5163, 16.8315, 3.2153)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04850E #85047B
analogous
#3B8504 #04850E #04854F
triadic
#04850E #0E0485 #850E04
tetradic
#04850E #043B85 #85047B #854F04
square
#04850E #043B85 #85047B #854F04
split-complementary
#04850E #4F0485 #85043B
monochromatic
#011E03 #024A08 #04850E #06C014 #0CF81E

Accessibility & contrast

On white

4.81
#04850E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#04850E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #04850E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04850E#FFFFFF#000000##FFFFFF
##04850E1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#008170
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #04850e;
/* rgb */ color: rgb(4, 133, 14);
/* oklch */ color: oklch(53.5% 0.177 143.0);
Tailwind
colors: {
  custom: {
    50: '#68aa5b',
    500: '#04850e',
    950: '#000000',
  },
}
SCSS
$custom: #04850e;
$custom-light: #68aa5b;
$custom-dark: #000000;
JSON
{
  "hex": "#04850e",
  "rgb": {
    "r": 4,
    "g": 133,
    "b": 14
  },
  "hsl": {
    "h": 124.651,
    "s": 94.161,
    "l": 26.863
  },
  "oklch": {
    "l": 0.53517,
    "c": 0.1774,
    "h": 143
  },
  "luminance": 0.16833
}

Semantic roles & 50–950 ramp

primary
#04850E
secondary
#BE27B2
accent
#29EEFF
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#081004
muted
#7A7F79

Preview Lab

Preview with #04850E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#04850E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva