#42851D#42851D

#42851D is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.2% C 0.151 H 137.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#42851D
RGBrgb(66, 133, 29)
HSLhsl(99, 64%, 32%)
HSVhsv(99, 78%, 52%)
CMYKcmyk(50.4%, 0%, 78.2%, 47.8%)
CIE-LABlab(49.52, -39.83, 46.10)
CIE-LCHlch(49.52, 60.93, 130.82°)
OKLaboklab(55.16% -0.1106 0.1031)
OKLCHoklch(55.16% 0.151 137)
XYZxyz(10.8557, 18.0213, 4.0686)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42851D #601D85
analogous
#76851D #42851D #1D852C
triadic
#42851D #1D4285 #851D42
tetradic
#42851D #1D7685 #601D85 #852C1D
square
#42851D #1D7685 #601D85 #852C1D
split-complementary
#42851D #2C1D85 #851D76
monochromatic
#102107 #295312 #42851D #5BB728 #79D746

Accessibility & contrast

On white

4.56
#42851D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#42851D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42851D
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42851D#FFFFFF#000000##000000
##42851D1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7905
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#3E8071
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #42851d;
/* rgb */ color: rgb(66, 133, 29);
/* oklch */ color: oklch(55.2% 0.151 137.0);
Tailwind
colors: {
  custom: {
    50: '#7da961',
    500: '#42851d',
    950: '#000000',
  },
}
SCSS
$custom: #42851d;
$custom-light: #7da961;
$custom-dark: #000000;
JSON
{
  "hex": "#42851d",
  "rgb": {
    "r": 66,
    "g": 133,
    "b": 29
  },
  "hsl": {
    "h": 98.654,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5516,
    "c": 0.15115,
    "h": 137
  },
  "luminance": 0.18022
}

Semantic roles & 50–950 ramp

primary
#42851D
secondary
#8F46B8
accent
#41E7AC
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #42851D

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

Preview Lab → · Contrast checker → · Palette generator →

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