#5D7C1C#5D7C1C

#5D7C1C is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.3% C 0.125 H 126.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5D7C1C
RGBrgb(93, 124, 28)
HSLhsl(79, 63%, 30%)
HSVhsv(79, 77%, 49%)
CMYKcmyk(25%, 0%, 77.4%, 51.4%)
CIE-LABlab(48.04, -25.68, 45.53)
CIE-LCHlch(48.04, 52.27, 119.42°)
OKLaboklab(54.34% -0.0741 0.1011)
OKLCHoklch(54.34% 0.125 126.2)
XYZxyz(11.9315, 16.8261, 3.7175)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7C1C #3B1C7C
analogous
#7C6B1C #5D7C1C #2D7C1C
triadic
#5D7C1C #1C5D7C #7C1C5D
tetradic
#5D7C1C #1C7C6B #3B1C7C #7C1C2D
square
#5D7C1C #1C7C6B #3B1C7C #7C1C2D
split-complementary
#5D7C1C #1C2D7C #6B1C7C
monochromatic
#131906 #384A11 #5D7C1C #82AE27 #A4D43F

Accessibility & contrast

On white

4.81
#5D7C1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5D7C1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7C1C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7C1C#FFFFFF#000000##FFFFFF
##5D7C1C1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837307
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#61766A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d7c1c;
/* rgb */ color: rgb(93, 124, 28);
/* oklch */ color: oklch(54.3% 0.125 126.2);
Tailwind
colors: {
  custom: {
    50: '#8ea260',
    500: '#5d7c1c',
    950: '#000000',
  },
}
SCSS
$custom: #5d7c1c;
$custom-light: #8ea260;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7c1c",
  "rgb": {
    "r": 93,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 79.375,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54336,
    "c": 0.1254,
    "h": 126.2
  },
  "luminance": 0.16826
}

Semantic roles & 50–950 ramp

primary
#5D7C1C
secondary
#6744B0
accent
#42E677
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5D7C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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