#50751C#50751C

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

Color values

HEX#50751C
RGBrgb(80, 117, 28)
HSLhsl(85, 61%, 28%)
HSVhsv(85, 76%, 46%)
CMYKcmyk(31.6%, 0%, 76.1%, 54.1%)
CIE-LABlab(44.96, -27.66, 42.25)
CIE-LCHlch(44.96, 50.50, 123.21°)
OKLaboklab(51.62% -0.0787 0.0946)
OKLCHoklch(51.62% 0.123 129.8)
XYZxyz(9.8791, 14.5116, 3.3789)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50751C #411C75
analogous
#756D1C #50751C #23751C
triadic
#50751C #1C5075 #751C50
tetradic
#50751C #1C756D #411C75 #751C23
square
#50751C #1C756D #411C75 #751C23
split-complementary
#50751C #1C2375 #6D1C75
monochromatic
#111906 #2E4410 #50751C #72A628 #92D03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50751C#FFFFFF#000000##FFFFFF
##50751C1.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)
#7B6C0B
Deuteranopia (green-blind)
#766924
Tritanopia (blue-blind)
#527064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #50751c;
/* rgb */ color: rgb(80, 117, 28);
/* oklch */ color: oklch(51.6% 0.123 129.8);
Tailwind
colors: {
  custom: {
    50: '#859d5f',
    500: '#50751c',
    950: '#000000',
  },
}
SCSS
$custom: #50751c;
$custom-light: #859d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#50751c",
  "rgb": {
    "r": 80,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 84.944,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51616,
    "c": 0.12303,
    "h": 129.8
  },
  "luminance": 0.14512
}

Semantic roles & 50–950 ramp

primary
#50751C
secondary
#6E44A9
accent
#43E486
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #50751C

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

Preview Lab → · Contrast checker → · Palette generator →

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