#50751B#50751B

#50751B is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.6% C 0.124 H 129.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#50751B
RGBrgb(80, 117, 27)
HSLhsl(85, 63%, 28%)
HSVhsv(85, 77%, 46%)
CMYKcmyk(31.6%, 0%, 76.9%, 54.1%)
CIE-LABlab(44.95, -27.73, 42.63)
CIE-LCHlch(44.95, 50.85, 123.04°)
OKLaboklab(51.61% -0.079 0.0952)
OKLCHoklch(51.61% 0.124 129.7)
XYZxyz(9.8673, 14.5069, 3.3169)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50751B #401B75
analogous
#756D1B #50751B #23751B
triadic
#50751B #1B5075 #751B50
tetradic
#50751B #1B756D #401B75 #751B23
square
#50751B #1B756D #401B75 #751B23
split-complementary
#50751B #1B2375 #6D1B75
monochromatic
#111906 #2E4310 #50751B #72A726 #93D139

Accessibility & contrast

On white

5.38
#50751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#50751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #50751B
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50751B#FFFFFF#000000##FFFFFF
##50751B1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C09
Deuteranopia (green-blind)
#766924
Tritanopia (blue-blind)
#527064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #50751b;
/* rgb */ color: rgb(80, 117, 27);
/* oklch */ color: oklch(51.6% 0.124 129.7);
Tailwind
colors: {
  custom: {
    50: '#859d5e',
    500: '#50751b',
    950: '#000000',
  },
}
SCSS
$custom: #50751b;
$custom-light: #859d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#50751b",
  "rgb": {
    "r": 80,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 84.667,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51608,
    "c": 0.12368,
    "h": 129.7
  },
  "luminance": 0.14507
}

Semantic roles & 50–950 ramp

primary
#50751B
secondary
#6D42A9
accent
#42E685
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #50751B

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

Preview Lab → · Contrast checker → · Palette generator →

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