#41771B#41771B

#41771B is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.3% C 0.135 H 135.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#41771B
RGBrgb(65, 119, 27)
HSLhsl(95, 63%, 29%)
HSVhsv(95, 77%, 47%)
CMYKcmyk(45.4%, 0%, 77.3%, 53.3%)
CIE-LABlab(44.80, -34.37, 42.20)
CIE-LCHlch(44.80, 54.42, 129.16°)
OKLaboklab(51.26% -0.0959 0.0946)
OKLCHoklch(51.26% 0.135 135.4)
XYZxyz(8.9744, 14.3961, 3.3425)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41771B #511B77
analogous
#6F771B #41771B #1B7723
triadic
#41771B #1B4177 #771B41
tetradic
#41771B #1B6F77 #511B77 #77231B
square
#41771B #1B6F77 #511B77 #77231B
split-complementary
#41771B #231B77 #771B6F
monochromatic
#0E1906 #264510 #41771B #5CA926 #79D23A

Accessibility & contrast

On white

5.41
#41771B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#41771B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #41771B
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41771B#FFFFFF#000000##FFFFFF
##41771B1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D08
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#3F7265
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #41771b;
/* rgb */ color: rgb(65, 119, 27);
/* oklch */ color: oklch(51.3% 0.135 135.4);
Tailwind
colors: {
  custom: {
    50: '#7b9f5e',
    500: '#41771b',
    950: '#000000',
  },
}
SCSS
$custom: #41771b;
$custom-light: #7b9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#41771b",
  "rgb": {
    "r": 65,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 95.217,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51262,
    "c": 0.13472,
    "h": 135.4
  },
  "luminance": 0.14397
}

Semantic roles & 50–950 ramp

primary
#41771B
secondary
#8042AB
accent
#42E6A2
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #41771B

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

Preview Lab → · Contrast checker → · Palette generator →

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