#41871B#41871B

#41871B is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.6% C 0.155 H 137.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#41871B
RGBrgb(65, 135, 27)
HSLhsl(99, 67%, 32%)
HSVhsv(99, 80%, 53%)
CMYKcmyk(51.9%, 0%, 80%, 47.1%)
CIE-LABlab(50.13, -41.09, 47.36)
CIE-LCHlch(50.13, 62.70, 130.94°)
OKLaboklab(55.65% -0.114 0.1054)
OKLCHoklch(55.65% 0.155 137.3)
XYZxyz(11.0414, 18.5301, 4.0315)
Luminance0.1853 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41871B #611B87
analogous
#77871B #41871B #1B872B
triadic
#41871B #1B4187 #871B41
tetradic
#41871B #1B7787 #611B87 #872B1B
square
#41871B #1B7787 #611B87 #872B1B
split-complementary
#41871B #2B1B87 #871B77
monochromatic
#102107 #285411 #41871B #5ABA25 #78D943

Accessibility & contrast

On white

4.46
#41871B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#41871B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #41871B
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41871B#FFFFFF#000000##000000
##41871B1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#837527
Tritanopia (blue-blind)
#3C8273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #41871b;
/* rgb */ color: rgb(65, 135, 27);
/* oklch */ color: oklch(55.6% 0.155 137.3);
Tailwind
colors: {
  custom: {
    50: '#7daa61',
    500: '#41871b',
    950: '#000000',
  },
}
SCSS
$custom: #41871b;
$custom-light: #7daa61;
$custom-dark: #000000;
JSON
{
  "hex": "#41871b",
  "rgb": {
    "r": 65,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 98.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55648,
    "c": 0.15526,
    "h": 137.3
  },
  "luminance": 0.18531
}

Semantic roles & 50–950 ramp

primary
#41871B
secondary
#9044BA
accent
#3EEAAD
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #41871B

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

Preview Lab → · Contrast checker → · Palette generator →

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