#42510E#42510E

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

Color values

HEX#42510E
RGBrgb(66, 81, 14)
HSLhsl(73, 71%, 19%)
HSVhsv(73, 83%, 32%)
CMYKcmyk(18.5%, 0%, 82.7%, 68.2%)
CIE-LABlab(31.98, -16.15, 34.74)
CIE-LCHlch(31.98, 38.31, 114.94°)
OKLaboklab(40.81% -0.0476 0.0767)
OKLCHoklch(40.81% 0.09 121.8)
XYZxyz(5.2685, 7.0748, 1.5034)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42510E #1D0E51
analogous
#513E0E #42510E #20510E
triadic
#42510E #0E4251 #510E42
tetradic
#42510E #0E513E #1D0E51 #510E20
square
#42510E #0E513E #1D0E51 #510E20
split-complementary
#42510E #0E2051 #3E0E51
monochromatic
#151A05 #171D05 #42510E #6D8517 #97B920

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42510E#FFFFFF#000000##FFFFFF
##42510E1.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)
#564C01
Deuteranopia (green-blind)
#554B14
Tritanopia (blue-blind)
#464C44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #42510e;
/* rgb */ color: rgb(66, 81, 14);
/* oklch */ color: oklch(40.8% 0.090 121.8);
Tailwind
colors: {
  custom: {
    50: '#798153',
    500: '#42510e',
    950: '#000000',
  },
}
SCSS
$custom: #42510e;
$custom-light: #798153;
$custom-dark: #000000;
JSON
{
  "hex": "#42510e",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 73.433,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.40809,
    "c": 0.09024,
    "h": 121.8
  },
  "luminance": 0.07075
}

Semantic roles & 50–950 ramp

primary
#42510E
secondary
#442F8C
accent
#3AED63
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #42510E

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

Preview Lab → · Contrast checker → · Palette generator →

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