#42510D#42510D

#42510D is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.8% C 0.091 H 121.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#42510D
RGBrgb(66, 81, 13)
HSLhsl(73, 72%, 18%)
HSVhsv(73, 84%, 32%)
CMYKcmyk(18.5%, 0%, 84%, 68.2%)
CIE-LABlab(31.97, -16.21, 35.10)
CIE-LCHlch(31.97, 38.66, 114.78°)
OKLaboklab(40.8% -0.0478 0.0773)
OKLCHoklch(40.8% 0.091 121.8)
XYZxyz(5.2619, 7.0722, 1.4685)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42510D #1C0D51
analogous
#513E0D #42510D #20510D
triadic
#42510D #0D4251 #510D42
tetradic
#42510D #0D513E #1C0D51 #510D20
square
#42510D #0D513E #1C0D51 #510D20
split-complementary
#42510D #0D2051 #3E0D51
monochromatic
#151A04 #171C05 #42510D #6D8615 #98BA1E

Accessibility & contrast

On white

8.70
#42510D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#42510D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42510D
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42510D#FFFFFF#000000##FFFFFF
##42510D1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C00
Deuteranopia (green-blind)
#554B14
Tritanopia (blue-blind)
#464C44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #42510d;
/* rgb */ color: rgb(66, 81, 13);
/* oklch */ color: oklch(40.8% 0.091 121.8);
Tailwind
colors: {
  custom: {
    50: '#798152',
    500: '#42510d',
    950: '#000000',
  },
}
SCSS
$custom: #42510d;
$custom-light: #798152;
$custom-dark: #000000;
JSON
{
  "hex": "#42510d",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 13
  },
  "hsl": {
    "h": 73.235,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.40802,
    "c": 0.09085,
    "h": 121.8
  },
  "luminance": 0.07072
}

Semantic roles & 50–950 ramp

primary
#42510D
secondary
#432E8C
accent
#39EF61
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #42510D

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

Preview Lab → · Contrast checker → · Palette generator →

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