#5C7214#5C7214

#5C7214 is a mid, moderate yellow-green. Relative luminance 0.144; OKLCH L 51.6% C 0.117 H 122.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5C7214
RGBrgb(92, 114, 20)
HSLhsl(74, 70%, 26%)
HSVhsv(74, 82%, 45%)
CMYKcmyk(19.3%, 0%, 82.5%, 55.3%)
CIE-LABlab(44.75, -21.48, 45.16)
CIE-LCHlch(44.75, 50.01, 115.44°)
OKLaboklab(51.64% -0.0633 0.099)
OKLCHoklch(51.64% 0.117 122.6)
XYZxyz(10.5574, 14.3604, 2.8773)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7214 #2A1472
analogous
#725914 #5C7214 #2D7214
triadic
#5C7214 #145C72 #72145C
tetradic
#5C7214 #147259 #2A1472 #72142D
square
#5C7214 #147259 #2A1472 #72142D
split-complementary
#5C7214 #142D72 #591472
monochromatic
#151A05 #323E0B #5C7214 #86A61D #B0D927

Accessibility & contrast

On white

5.42
#5C7214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5C7214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7214
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7214#FFFFFF#000000##FFFFFF
##5C72141.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#766A1E
Tritanopia (blue-blind)
#616C61
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5c7214;
/* rgb */ color: rgb(92, 114, 20);
/* oklch */ color: oklch(51.6% 0.117 122.6);
Tailwind
colors: {
  custom: {
    50: '#8d9a5b',
    500: '#5c7214',
    950: '#000000',
  },
}
SCSS
$custom: #5c7214;
$custom-light: #8d9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7214",
  "rgb": {
    "r": 92,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 74.043,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51637,
    "c": 0.11747,
    "h": 122.6
  },
  "luminance": 0.1436
}

Semantic roles & 50–950 ramp

primary
#5C7214
secondary
#5339A8
accent
#3BED65
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7214

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

Preview Lab → · Contrast checker → · Palette generator →

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