#42891D#42891D

#42891D is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.3% C 0.156 H 137.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#42891D
RGBrgb(66, 137, 29)
HSLhsl(99, 65%, 33%)
HSVhsv(99, 79%, 54%)
CMYKcmyk(51.8%, 0%, 78.8%, 46.3%)
CIE-LABlab(50.85, -41.46, 47.39)
CIE-LCHlch(50.85, 62.96, 131.18°)
OKLaboklab(56.25% -0.1149 0.1057)
OKLCHoklch(56.25% 0.156 137.4)
XYZxyz(11.4138, 19.1375, 4.2546)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42891D #641D89
analogous
#78891D #42891D #1D892E
triadic
#42891D #1D4289 #891D42
tetradic
#42891D #1D7889 #641D89 #892E1D
square
#42891D #1D7889 #641D89 #892E1D
split-complementary
#42891D #2E1D89 #891D78
monochromatic
#112408 #2A5612 #42891D #5ABC28 #7AD848

Accessibility & contrast

On white

4.35
#42891D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#42891D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42891D
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42891D#FFFFFF#000000##000000
##42891D1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D02
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#3D8475
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #42891d;
/* rgb */ color: rgb(66, 137, 29);
/* oklch */ color: oklch(56.3% 0.156 137.4);
Tailwind
colors: {
  custom: {
    50: '#7eac62',
    500: '#42891d',
    950: '#000000',
  },
}
SCSS
$custom: #42891d;
$custom-light: #7eac62;
$custom-dark: #000000;
JSON
{
  "hex": "#42891d",
  "rgb": {
    "r": 66,
    "g": 137,
    "b": 29
  },
  "hsl": {
    "h": 99.444,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56251,
    "c": 0.15618,
    "h": 137.4
  },
  "luminance": 0.19138
}

Semantic roles & 50–950 ramp

primary
#42891D
secondary
#9347BA
accent
#40E8AE
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #42891D

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

Preview Lab → · Contrast checker → · Palette generator →

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