#3A4E0B#3A4E0B

#3A4E0B is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.3% C 0.092 H 125.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#3A4E0B
RGBrgb(58, 78, 11)
HSLhsl(78, 75%, 17%)
HSVhsv(78, 86%, 31%)
CMYKcmyk(25.6%, 0%, 85.9%, 69.4%)
CIE-LABlab(30.33, -18.43, 34.08)
CIE-LCHlch(30.33, 38.75, 118.41°)
OKLaboklab(39.32% -0.0535 0.075)
OKLCHoklch(39.32% 0.092 125.5)
XYZxyz(4.5298, 6.3724, 1.3079)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E0B #1F0B4E
analogous
#4E400B #3A4E0B #194E0B
triadic
#3A4E0B #0B3A4E #4E0B3A
tetradic
#3A4E0B #0B4E40 #1F0B4E #4E0B19
square
#3A4E0B #0B4E40 #1F0B4E #4E0B19
split-complementary
#3A4E0B #0B194E #400B4E
monochromatic
#141B04 #141B04 #3A4E0B #628413 #8AB91A

Accessibility & contrast

On white

9.23
#3A4E0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3A4E0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E0B
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E0B#FFFFFF#000000##FFFFFF
##3A4E0B1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534800
Deuteranopia (green-blind)
#504712
Tritanopia (blue-blind)
#3D4A42
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a4e0b;
/* rgb */ color: rgb(58, 78, 11);
/* oklch */ color: oklch(39.3% 0.092 125.5);
Tailwind
colors: {
  custom: {
    50: '#737f51',
    500: '#3a4e0b',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e0b;
$custom-light: #737f51;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e0b",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 11
  },
  "hsl": {
    "h": 77.91,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.39318,
    "c": 0.09214,
    "h": 125.5
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#3A4E0B
secondary
#472B8A
accent
#36F26E
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #3A4E0B

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

Preview Lab → · Contrast checker → · Palette generator →

#3A4E0B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva