#5E7526#5E7526

#5E7526 is a mid, moderate yellow-green. Relative luminance 0.152; OKLCH L 52.7% C 0.108 H 124.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5E7526
RGBrgb(94, 117, 38)
HSLhsl(77, 51%, 30%)
HSVhsv(77, 68%, 46%)
CMYKcmyk(19.7%, 0%, 67.5%, 54.1%)
CIE-LABlab(45.96, -21.03, 39.37)
CIE-LCHlch(45.96, 44.64, 118.11°)
OKLaboklab(52.7% -0.0605 0.0898)
OKLCHoklch(52.7% 0.108 124)
XYZxyz(11.3273, 15.2421, 4.1786)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7526 #3D2675
analogous
#756426 #5E7526 #377526
triadic
#5E7526 #265E75 #75265E
tetradic
#5E7526 #267564 #3D2675 #752637
square
#5E7526 #267564 #3D2675 #752637
split-complementary
#5E7526 #263775 #642675
monochromatic
#141908 #394717 #5E7526 #83A335 #A3C64F

Accessibility & contrast

On white

5.19
#5E7526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5E7526 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7526
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7526#FFFFFF#000000##FFFFFF
##5E75261.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1C
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#626F65
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e7526;
/* rgb */ color: rgb(94, 117, 38);
/* oklch */ color: oklch(52.7% 0.108 124.0);
Tailwind
colors: {
  custom: {
    50: '#8e9c65',
    500: '#5e7526',
    950: '#000000',
  },
}
SCSS
$custom: #5e7526;
$custom-light: #8e9c65;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7526",
  "rgb": {
    "r": 94,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 77.468,
    "s": 50.968,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52698,
    "c": 0.10828,
    "h": 124
  },
  "luminance": 0.15242
}

Semantic roles & 50–950 ramp

primary
#5E7526
secondary
#694FA7
accent
#4DDA76
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5E7526

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

Preview Lab → · Contrast checker → · Palette generator →

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