#5D701B#5D701B

#5D701B is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.2% C 0.110 H 121.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5D701B
RGBrgb(93, 112, 27)
HSLhsl(73, 61%, 27%)
HSVhsv(73, 76%, 44%)
CMYKcmyk(17%, 0%, 75.9%, 56.1%)
CIE-LABlab(44.23, -19.63, 42.22)
CIE-LCHlch(44.23, 46.56, 114.94°)
OKLaboklab(51.25% -0.0576 0.094)
OKLCHoklch(51.25% 0.11 121.5)
XYZxyz(10.5064, 13.9946, 3.1844)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D701B #2E1B70
analogous
#70591B #5D701B #32701B
triadic
#5D701B #1B5D70 #701B5D
tetradic
#5D701B #1B7059 #2E1B70 #701B32
square
#5D701B #1B7059 #2E1B70 #701B32
split-complementary
#5D701B #1B3270 #591B70
monochromatic
#141906 #343F0F #5D701B #86A127 #ADCF37

Accessibility & contrast

On white

5.53
#5D701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5D701B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D701B
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D701B#FFFFFF#000000##FFFFFF
##5D701B1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690B
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#626A60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d701b;
/* rgb */ color: rgb(93, 112, 27);
/* oklch */ color: oklch(51.2% 0.110 121.5);
Tailwind
colors: {
  custom: {
    50: '#8e995e',
    500: '#5d701b',
    950: '#000000',
  },
}
SCSS
$custom: #5d701b;
$custom-light: #8e995e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d701b",
  "rgb": {
    "r": 93,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 73.412,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51249,
    "c": 0.11027,
    "h": 121.5
  },
  "luminance": 0.13995
}

Semantic roles & 50–950 ramp

primary
#5D701B
secondary
#5842A5
accent
#44E467
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0D05
muted
#7D7E79

Preview Lab

Preview with #5D701B

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

Preview Lab → · Contrast checker → · Palette generator →

#5D701B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva