#5C702F#5C702F

#5C702F is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.4% C 0.094 H 123.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5C702F
RGBrgb(92, 112, 47)
HSLhsl(78, 41%, 31%)
HSVhsv(78, 58%, 44%)
CMYKcmyk(17.9%, 0%, 58%, 56.1%)
CIE-LABlab(44.33, -18.47, 33.17)
CIE-LCHlch(44.33, 37.97, 119.10°)
OKLaboklab(51.37% -0.0523 0.0778)
OKLCHoklch(51.37% 0.094 123.9)
XYZxyz(10.7209, 14.0688, 4.8395)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C702F #432F70
analogous
#70632F #5C702F #3B702F
triadic
#5C702F #2F5C70 #702F5C
tetradic
#5C702F #2F7063 #432F70 #702F3B
square
#5C702F #2F7063 #432F70 #702F3B
split-complementary
#5C702F #2F3B70 #632F70
monochromatic
#151A0B #39451D #5C702F #7F9B41 #9FBB5E

Accessibility & contrast

On white

5.51
#5C702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5C702F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C702F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C702F#FFFFFF#000000##FFFFFF
##5C702F1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766928
Deuteranopia (green-blind)
#736933
Tritanopia (blue-blind)
#606B62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5c702f;
/* rgb */ color: rgb(92, 112, 47);
/* oklch */ color: oklch(51.4% 0.094 123.9);
Tailwind
colors: {
  custom: {
    50: '#8c996a',
    500: '#5c702f',
    950: '#000000',
  },
}
SCSS
$custom: #5c702f;
$custom-light: #8c996a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c702f",
  "rgb": {
    "r": 92,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 78.462,
    "s": 40.881,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51373,
    "c": 0.09375,
    "h": 123.9
  },
  "luminance": 0.14069
}

Semantic roles & 50–950 ramp

primary
#5C702F
secondary
#705AA1
accent
#57D17D
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0D06
muted
#7D7E7A

Preview Lab

Preview with #5C702F

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

Preview Lab → · Contrast checker → · Palette generator →

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