#42500E#42500E

#42500E is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.5% C 0.089 H 121.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#42500E
RGBrgb(66, 80, 14)
HSLhsl(73, 70%, 18%)
HSVhsv(73, 83%, 31%)
CMYKcmyk(17.5%, 0%, 82.5%, 68.6%)
CIE-LABlab(31.64, -15.60, 34.42)
CIE-LCHlch(31.64, 37.79, 114.38°)
OKLaboklab(40.54% -0.0461 0.076)
OKLCHoklch(40.54% 0.089 121.2)
XYZxyz(5.1948, 6.9273, 1.4788)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42500E #1C0E50
analogous
#503D0E #42500E #21500E
triadic
#42500E #0E4250 #500E42
tetradic
#42500E #0E503D #1C0E50 #500E21
square
#42500E #0E503D #1C0E50 #500E21
split-complementary
#42500E #0E2150 #3D0E50
monochromatic
#151A05 #171C05 #42500E #6D8417 #98B820

Accessibility & contrast

On white

8.80
#42500E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#42500E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42500E
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42500E#FFFFFF#000000##FFFFFF
##42500E1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B02
Deuteranopia (green-blind)
#544A14
Tritanopia (blue-blind)
#464B44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #42500e;
/* rgb */ color: rgb(66, 80, 14);
/* oklch */ color: oklch(40.5% 0.089 121.2);
Tailwind
colors: {
  custom: {
    50: '#798153',
    500: '#42500e',
    950: '#000000',
  },
}
SCSS
$custom: #42500e;
$custom-light: #798153;
$custom-dark: #000000;
JSON
{
  "hex": "#42500e",
  "rgb": {
    "r": 66,
    "g": 80,
    "b": 14
  },
  "hsl": {
    "h": 72.727,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.40538,
    "c": 0.08888,
    "h": 121.2
  },
  "luminance": 0.06927
}

Semantic roles & 50–950 ramp

primary
#42500E
secondary
#432F8B
accent
#3BED61
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #42500E

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

Preview Lab → · Contrast checker → · Palette generator →

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