#5D751C#5D751C

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

Color values

HEX#5D751C
RGBrgb(93, 117, 28)
HSLhsl(76, 61%, 28%)
HSVhsv(76, 76%, 46%)
CMYKcmyk(20.5%, 0%, 76.1%, 54.1%)
CIE-LABlab(45.82, -22.16, 43.38)
CIE-LCHlch(45.82, 48.71, 117.06°)
OKLaboklab(52.54% -0.0645 0.0966)
OKLCHoklch(52.54% 0.116 123.7)
XYZxyz(11.0852, 15.1335, 3.4354)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D751C #341C75
analogous
#75601C #5D751C #30751C
triadic
#5D751C #1C5D75 #751C5D
tetradic
#5D751C #1C7560 #341C75 #751C30
square
#5D751C #1C7560 #341C75 #751C30
split-complementary
#5D751C #1C3075 #601C75
monochromatic
#141906 #364410 #5D751C #84A628 #A8D03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D751C#FFFFFF#000000##FFFFFF
##5D751C1.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)
#7C6D0B
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#626F64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d751c;
/* rgb */ color: rgb(93, 117, 28);
/* oklch */ color: oklch(52.5% 0.116 123.7);
Tailwind
colors: {
  custom: {
    50: '#8e9c5f',
    500: '#5d751c',
    950: '#000000',
  },
}
SCSS
$custom: #5d751c;
$custom-light: #8e9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d751c",
  "rgb": {
    "r": 93,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 76.18,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52536,
    "c": 0.11618,
    "h": 123.7
  },
  "luminance": 0.15134
}

Semantic roles & 50–950 ramp

primary
#5D751C
secondary
#5F44A9
accent
#43E46F
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5D751C

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

Preview Lab → · Contrast checker → · Palette generator →

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