#42891E#42891E

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

Color values

HEX#42891E
RGBrgb(66, 137, 30)
HSLhsl(100, 64%, 33%)
HSVhsv(100, 78%, 54%)
CMYKcmyk(51.8%, 0%, 78.1%, 46.3%)
CIE-LABlab(50.85, -41.39, 47.05)
CIE-LCHlch(50.85, 62.66, 131.34°)
OKLaboklab(56.26% -0.1147 0.1052)
OKLCHoklch(56.26% 0.156 137.5)
XYZxyz(11.4264, 19.1425, 4.3208)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42891E #651E89
analogous
#77891E #42891E #1E892F
triadic
#42891E #1E4289 #891E42
tetradic
#42891E #1E7789 #651E89 #892F1E
square
#42891E #1E7789 #651E89 #892F1E
split-complementary
#42891E #2F1E89 #891E77
monochromatic
#122508 #2A5713 #42891E #5ABB29 #7AD74A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42891E#FFFFFF#000000##000000
##42891E1.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)
#8E7D05
Deuteranopia (green-blind)
#84772A
Tritanopia (blue-blind)
#3D8475
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #42891e;
/* rgb */ color: rgb(66, 137, 30);
/* oklch */ color: oklch(56.3% 0.156 137.5);
Tailwind
colors: {
  custom: {
    50: '#7eac62',
    500: '#42891e',
    950: '#000000',
  },
}
SCSS
$custom: #42891e;
$custom-light: #7eac62;
$custom-dark: #000000;
JSON
{
  "hex": "#42891e",
  "rgb": {
    "r": 66,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 99.813,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56258,
    "c": 0.15563,
    "h": 137.5
  },
  "luminance": 0.19143
}

Semantic roles & 50–950 ramp

primary
#42891E
secondary
#9449BA
accent
#41E7AF
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #42891E

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

Preview Lab → · Contrast checker → · Palette generator →

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