#5D751B#5D751B

#5D751B is a mid, moderate yellow-green. Relative luminance 0.151; OKLCH L 52.5% C 0.117 H 123.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5D751B
RGBrgb(93, 117, 27)
HSLhsl(76, 63%, 28%)
HSVhsv(76, 77%, 46%)
CMYKcmyk(20.5%, 0%, 76.9%, 54.1%)
CIE-LABlab(45.81, -22.22, 43.75)
CIE-LCHlch(45.81, 49.07, 116.92°)
OKLaboklab(52.53% -0.0648 0.0972)
OKLCHoklch(52.53% 0.117 123.7)
XYZxyz(11.0734, 15.1288, 3.3735)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D751B #331B75
analogous
#75601B #5D751B #30751B
triadic
#5D751B #1B5D75 #751B5D
tetradic
#5D751B #1B7560 #331B75 #751B30
square
#5D751B #1B7560 #331B75 #751B30
split-complementary
#5D751B #1B3075 #601B75
monochromatic
#141906 #354310 #5D751B #85A726 #A9D139

Accessibility & contrast

On white

5.22
#5D751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5D751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D751B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D751B#FFFFFF#000000##FFFFFF
##5D751B1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D08
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#626F64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d751b;
/* rgb */ color: rgb(93, 117, 27);
/* oklch */ color: oklch(52.5% 0.117 123.7);
Tailwind
colors: {
  custom: {
    50: '#8e9c5f',
    500: '#5d751b',
    950: '#000000',
  },
}
SCSS
$custom: #5d751b;
$custom-light: #8e9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d751b",
  "rgb": {
    "r": 93,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 76,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52529,
    "c": 0.11683,
    "h": 123.7
  },
  "luminance": 0.15129
}

Semantic roles & 50–950 ramp

primary
#5D751B
secondary
#5E42A9
accent
#42E66E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5D751B

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

Preview Lab → · Contrast checker → · Palette generator →

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