#50751F#50751F

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

Color values

HEX#50751F
RGBrgb(80, 117, 31)
HSLhsl(86, 58%, 29%)
HSVhsv(86, 74%, 46%)
CMYKcmyk(31.6%, 0%, 73.5%, 54.1%)
CIE-LABlab(44.98, -27.45, 41.08)
CIE-LCHlch(44.98, 49.41, 123.76°)
OKLaboklab(51.64% -0.0779 0.0926)
OKLCHoklch(51.64% 0.121 130.1)
XYZxyz(9.9168, 14.5267, 3.5775)
Luminance0.1453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50751F #441F75
analogous
#756F1F #50751F #25751F
triadic
#50751F #1F5075 #751F50
tetradic
#50751F #1F756F #441F75 #751F25
square
#50751F #1F756F #441F75 #751F25
split-complementary
#50751F #1F2575 #6F1F75
monochromatic
#111806 #2F4512 #50751F #71A52C #91CD42

Accessibility & contrast

On white

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

On black

3.91
#50751F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##50751F#FFFFFF#000000##FFFFFF
##50751F1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C11
Deuteranopia (green-blind)
#756A27
Tritanopia (blue-blind)
#527064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #50751f;
/* rgb */ color: rgb(80, 117, 31);
/* oklch */ color: oklch(51.6% 0.121 130.1);
Tailwind
colors: {
  custom: {
    50: '#849d60',
    500: '#50751f',
    950: '#000000',
  },
}
SCSS
$custom: #50751f;
$custom-light: #849d60;
$custom-dark: #000000;
JSON
{
  "hex": "#50751f",
  "rgb": {
    "r": 80,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 85.814,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5164,
    "c": 0.121,
    "h": 130.1
  },
  "luminance": 0.14527
}

Semantic roles & 50–950 ramp

primary
#50751F
secondary
#7147A9
accent
#46E189
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #50751F

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

Preview Lab → · Contrast checker → · Palette generator →

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