#42891B#42891B

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

Color values

HEX#42891B
RGBrgb(66, 137, 27)
HSLhsl(99, 67%, 32%)
HSVhsv(99, 80%, 54%)
CMYKcmyk(51.8%, 0%, 80.3%, 46.3%)
CIE-LABlab(50.84, -41.58, 48.04)
CIE-LCHlch(50.84, 63.54, 130.88°)
OKLaboklab(56.24% -0.1154 0.1068)
OKLCHoklch(56.24% 0.157 137.2)
XYZxyz(11.3899, 19.1279, 4.1286)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42891B #621B89
analogous
#79891B #42891B #1B892B
triadic
#42891B #1B4289 #891B42
tetradic
#42891B #1B7989 #621B89 #892B1B
square
#42891B #1B7989 #621B89 #892B1B
split-complementary
#42891B #2B1B89 #891B79
monochromatic
#112307 #295611 #42891B #5BBC25 #79DA44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42891B#FFFFFF#000000##000000
##42891B1.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)
#8E7D00
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#3D8475
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #42891b;
/* rgb */ color: rgb(66, 137, 27);
/* oklch */ color: oklch(56.2% 0.157 137.2);
Tailwind
colors: {
  custom: {
    50: '#7eac61',
    500: '#42891b',
    950: '#000000',
  },
}
SCSS
$custom: #42891b;
$custom-light: #7eac61;
$custom-dark: #000000;
JSON
{
  "hex": "#42891b",
  "rgb": {
    "r": 66,
    "g": 137,
    "b": 27
  },
  "hsl": {
    "h": 98.727,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56238,
    "c": 0.15724,
    "h": 137.2
  },
  "luminance": 0.19129
}

Semantic roles & 50–950 ramp

primary
#42891B
secondary
#9144BC
accent
#3EEAAD
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #42891B

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

Preview Lab → · Contrast checker → · Palette generator →

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