#42891C#42891C

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

Color values

HEX#42891C
RGBrgb(66, 137, 28)
HSLhsl(99, 66%, 32%)
HSVhsv(99, 80%, 54%)
CMYKcmyk(51.8%, 0%, 79.6%, 46.3%)
CIE-LABlab(50.84, -41.52, 47.72)
CIE-LCHlch(50.84, 63.25, 131.03°)
OKLaboklab(56.24% -0.1152 0.1063)
OKLCHoklch(56.24% 0.157 137.3)
XYZxyz(11.4017, 19.1326, 4.1905)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42891C #631C89
analogous
#78891C #42891C #1C892D
triadic
#42891C #1C4289 #891C42
tetradic
#42891C #1C7889 #631C89 #892D1C
square
#42891C #1C7889 #631C89 #892D1C
split-complementary
#42891C #2D1C89 #891C78
monochromatic
#112307 #2A5612 #42891C #5ABC26 #79D946

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42891C#FFFFFF#000000##000000
##42891C1.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)
#857728
Tritanopia (blue-blind)
#3D8475
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #42891c;
/* rgb */ color: rgb(66, 137, 28);
/* oklch */ color: oklch(56.2% 0.157 137.3);
Tailwind
colors: {
  custom: {
    50: '#7eac61',
    500: '#42891c',
    950: '#000000',
  },
}
SCSS
$custom: #42891c;
$custom-light: #7eac61;
$custom-dark: #000000;
JSON
{
  "hex": "#42891c",
  "rgb": {
    "r": 66,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 99.083,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56244,
    "c": 0.15672,
    "h": 137.3
  },
  "luminance": 0.19133
}

Semantic roles & 50–950 ramp

primary
#42891C
secondary
#9246BB
accent
#3FE9AE
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #42891C

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

Preview Lab → · Contrast checker → · Palette generator →

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