#41731B#41731B

#41731B is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.2% C 0.129 H 134.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#41731B
RGBrgb(65, 115, 27)
HSLhsl(94, 62%, 28%)
HSVhsv(94, 77%, 45%)
CMYKcmyk(43.5%, 0%, 76.5%, 54.9%)
CIE-LABlab(43.45, -32.60, 40.87)
CIE-LCHlch(43.45, 52.28, 128.58°)
OKLaboklab(50.16% -0.0911 0.0918)
OKLCHoklch(50.16% 0.129 134.8)
XYZxyz(8.5084, 13.4640, 3.1872)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41731B #4D1B73
analogous
#6D731B #41731B #1B7321
triadic
#41731B #1B4173 #731B41
tetradic
#41731B #1B6D73 #4D1B73 #73211B
square
#41731B #1B6D73 #4D1B73 #73211B
split-complementary
#41731B #211B73 #731B6D
monochromatic
#0E1906 #25410F #41731B #5DA527 #7AD038

Accessibility & contrast

On white

5.69
#41731B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#41731B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #41731B
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41731B#FFFFFF#000000##FFFFFF
##41731B1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78690A
Deuteranopia (green-blind)
#716524
Tritanopia (blue-blind)
#406E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #41731b;
/* rgb */ color: rgb(65, 115, 27);
/* oklch */ color: oklch(50.2% 0.129 134.8);
Tailwind
colors: {
  custom: {
    50: '#7a9c5e',
    500: '#41731b',
    950: '#000000',
  },
}
SCSS
$custom: #41731b;
$custom-light: #7a9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#41731b",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 94.091,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50162,
    "c": 0.12937,
    "h": 134.8
  },
  "luminance": 0.13464
}

Semantic roles & 50–950 ramp

primary
#41731B
secondary
#7C42A8
accent
#43E59F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #41731B

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

Preview Lab → · Contrast checker → · Palette generator →

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