#42500D#42500D

#42500D 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.81:1 contrast (WCAG AA passes).

Color values

HEX#42500D
RGBrgb(66, 80, 13)
HSLhsl(73, 72%, 18%)
HSVhsv(73, 84%, 31%)
CMYKcmyk(17.5%, 0%, 83.7%, 68.6%)
CIE-LABlab(31.63, -15.65, 34.79)
CIE-LCHlch(31.63, 38.15, 114.23°)
OKLaboklab(40.53% -0.0463 0.0766)
OKLCHoklch(40.53% 0.09 121.2)
XYZxyz(5.1882, 6.9246, 1.4440)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42500D #1B0D50
analogous
#503C0D #42500D #20500D
triadic
#42500D #0D4250 #500D42
tetradic
#42500D #0D503C #1B0D50 #500D20
square
#42500D #0D503C #1B0D50 #500D20
split-complementary
#42500D #0D2050 #3C0D50
monochromatic
#161A04 #171B04 #42500D #6D8516 #99B91E

Accessibility & contrast

On white

8.81
#42500D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42500D
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42500D#FFFFFF#000000##FFFFFF
##42500D1.008.812.398.81
#FFFFFF8.811.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B01
Deuteranopia (green-blind)
#544A13
Tritanopia (blue-blind)
#464B43
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #42500d;
/* rgb */ color: rgb(66, 80, 13);
/* oklch */ color: oklch(40.5% 0.089 121.2);
Tailwind
colors: {
  custom: {
    50: '#798152',
    500: '#42500d',
    950: '#000000',
  },
}
SCSS
$custom: #42500d;
$custom-light: #798152;
$custom-dark: #000000;
JSON
{
  "hex": "#42500d",
  "rgb": {
    "r": 66,
    "g": 80,
    "b": 13
  },
  "hsl": {
    "h": 72.537,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.40531,
    "c": 0.0895,
    "h": 121.2
  },
  "luminance": 0.06925
}

Semantic roles & 50–950 ramp

primary
#42500D
secondary
#412E8B
accent
#39EF5F
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #42500D

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

Preview Lab → · Contrast checker → · Palette generator →

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