#42891A#42891A

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

Color values

HEX#42891A
RGBrgb(66, 137, 26)
HSLhsl(98, 68%, 32%)
HSVhsv(98, 81%, 54%)
CMYKcmyk(51.8%, 0%, 81%, 46.3%)
CIE-LABlab(50.83, -41.64, 48.36)
CIE-LCHlch(50.83, 63.82, 130.73°)
OKLaboklab(56.23% -0.1156 0.1073)
OKLCHoklch(56.23% 0.158 137.1)
XYZxyz(11.3785, 19.1233, 4.0687)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42891A #611A89
analogous
#7A891A #42891A #1A8929
triadic
#42891A #1A4289 #891A42
tetradic
#42891A #1A7A89 #611A89 #89291A
square
#42891A #1A7A89 #611A89 #89291A
split-complementary
#42891A #291A89 #891A7A
monochromatic
#102206 #295610 #42891A #5BBC24 #79DB42

Accessibility & contrast

On white

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

On black

4.82
#42891A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42891A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42891A#FFFFFF#000000##000000
##42891A1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.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: #42891a;
/* rgb */ color: rgb(66, 137, 26);
/* oklch */ color: oklch(56.2% 0.158 137.1);
Tailwind
colors: {
  custom: {
    50: '#7eac61',
    500: '#42891a',
    950: '#000000',
  },
}
SCSS
$custom: #42891a;
$custom-light: #7eac61;
$custom-dark: #000000;
JSON
{
  "hex": "#42891a",
  "rgb": {
    "r": 66,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 98.378,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56232,
    "c": 0.15775,
    "h": 137.1
  },
  "luminance": 0.19124
}

Semantic roles & 50–950 ramp

primary
#42891A
secondary
#9043BC
accent
#3DEBAC
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #42891A

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

Preview Lab → · Contrast checker → · Palette generator →

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