#3A500E#3A500E

#3A500E is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.9% C 0.093 H 126.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#3A500E
RGBrgb(58, 80, 14)
HSLhsl(80, 70%, 18%)
HSVhsv(80, 83%, 31%)
CMYKcmyk(27.5%, 0%, 82.5%, 68.6%)
CIE-LABlab(31.04, -19.33, 33.64)
CIE-LCHlch(31.04, 38.80, 119.88°)
OKLaboklab(39.9% -0.0557 0.0746)
OKLCHoklch(39.9% 0.093 126.8)
XYZxyz(4.6929, 6.6685, 1.4553)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A500E #240E50
analogous
#50450E #3A500E #19500E
triadic
#3A500E #0E3A50 #500E3A
tetradic
#3A500E #0E5045 #240E50 #500E19
square
#3A500E #0E5045 #240E50 #500E19
split-complementary
#3A500E #0E1950 #450E50
monochromatic
#131A05 #141C05 #3A500E #608417 #86B820

Accessibility & contrast

On white

9.00
#3A500E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3A500E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A500E
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A500E#FFFFFF#000000##FFFFFF
##3A500E1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A02
Deuteranopia (green-blind)
#524914
Tritanopia (blue-blind)
#3D4C44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a500e;
/* rgb */ color: rgb(58, 80, 14);
/* oklch */ color: oklch(39.9% 0.093 126.8);
Tailwind
colors: {
  custom: {
    50: '#738152',
    500: '#3a500e',
    950: '#000000',
  },
}
SCSS
$custom: #3a500e;
$custom-light: #738152;
$custom-dark: #000000;
JSON
{
  "hex": "#3a500e",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 14
  },
  "hsl": {
    "h": 80,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.39897,
    "c": 0.09313,
    "h": 126.8
  },
  "luminance": 0.06669
}

Semantic roles & 50–950 ramp

primary
#3A500E
secondary
#4E2F8B
accent
#3BED76
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #3A500E

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

Preview Lab → · Contrast checker → · Palette generator →

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