#42500F#42500F

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

Color values

HEX#42500F
RGBrgb(66, 80, 15)
HSLhsl(73, 68%, 19%)
HSVhsv(73, 81%, 31%)
CMYKcmyk(17.5%, 0%, 81.3%, 68.6%)
CIE-LABlab(31.65, -15.54, 34.04)
CIE-LCHlch(31.65, 37.42, 114.54°)
OKLaboklab(40.54% -0.0458 0.0754)
OKLCHoklch(40.54% 0.088 121.3)
XYZxyz(5.2017, 6.9301, 1.5154)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42500F #1D0F50
analogous
#503D0F #42500F #21500F
triadic
#42500F #0F4250 #500F42
tetradic
#42500F #0F503D #1D0F50 #500F21
square
#42500F #0F503D #1D0F50 #500F21
split-complementary
#42500F #0F2150 #3D0F50
monochromatic
#151A05 #171C05 #42500F #6D8419 #97B722

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42500F#FFFFFF#000000##FFFFFF
##42500F1.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)
#554B03
Deuteranopia (green-blind)
#544B15
Tritanopia (blue-blind)
#464B44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #42500f;
/* rgb */ color: rgb(66, 80, 15);
/* oklch */ color: oklch(40.5% 0.088 121.3);
Tailwind
colors: {
  custom: {
    50: '#798153',
    500: '#42500f',
    950: '#000000',
  },
}
SCSS
$custom: #42500f;
$custom-light: #798153;
$custom-dark: #000000;
JSON
{
  "hex": "#42500f",
  "rgb": {
    "r": 66,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 72.923,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.40545,
    "c": 0.08823,
    "h": 121.3
  },
  "luminance": 0.0693
}

Semantic roles & 50–950 ramp

primary
#42500F
secondary
#44318A
accent
#3DEB62
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #42500F

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

Preview Lab → · Contrast checker → · Palette generator →

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