#50701B#50701B

#50701B is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.3% C 0.117 H 128.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#50701B
RGBrgb(80, 112, 27)
HSLhsl(83, 61%, 27%)
HSVhsv(83, 76%, 44%)
CMYKcmyk(28.6%, 0%, 75.9%, 56.1%)
CIE-LABlab(43.32, -25.28, 41.02)
CIE-LCHlch(43.32, 48.19, 121.65°)
OKLaboklab(50.28% -0.0723 0.0918)
OKLCHoklch(50.28% 0.117 128.2)
XYZxyz(9.3003, 13.3727, 3.1279)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50701B #3B1B70
analogous
#70651B #50701B #26701B
triadic
#50701B #1B5070 #701B50
tetradic
#50701B #1B7065 #3B1B70 #701B26
square
#50701B #1B7065 #3B1B70 #701B26
split-complementary
#50701B #1B2670 #651B70
monochromatic
#121906 #2D3F0F #50701B #73A127 #95CF37

Accessibility & contrast

On white

5.71
#50701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#50701B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #50701B
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50701B#FFFFFF#000000##FFFFFF
##50701B1.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76680B
Deuteranopia (green-blind)
#716623
Tritanopia (blue-blind)
#536B60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #50701b;
/* rgb */ color: rgb(80, 112, 27);
/* oklch */ color: oklch(50.3% 0.117 128.2);
Tailwind
colors: {
  custom: {
    50: '#84995e',
    500: '#50701b',
    950: '#000000',
  },
}
SCSS
$custom: #50701b;
$custom-light: #84995e;
$custom-dark: #000000;
JSON
{
  "hex": "#50701b",
  "rgb": {
    "r": 80,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 82.588,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50281,
    "c": 0.11688,
    "h": 128.2
  },
  "luminance": 0.13373
}

Semantic roles & 50–950 ramp

primary
#50701B
secondary
#6742A5
accent
#44E480
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #50701B

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

Preview Lab → · Contrast checker → · Palette generator →

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