#5E751B#5E751B

#5E751B is a mid, moderate yellow-green. Relative luminance 0.152; OKLCH L 52.6% C 0.116 H 123.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5E751B
RGBrgb(94, 117, 27)
HSLhsl(75, 63%, 28%)
HSVhsv(75, 77%, 46%)
CMYKcmyk(19.7%, 0%, 76.9%, 54.1%)
CIE-LABlab(45.88, -21.78, 43.85)
CIE-LCHlch(45.88, 48.96, 116.42°)
OKLaboklab(52.61% -0.0636 0.0974)
OKLCHoklch(52.61% 0.116 123.2)
XYZxyz(11.1754, 15.1813, 3.3782)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E751B #321B75
analogous
#755F1B #5E751B #31751B
triadic
#5E751B #1B5E75 #751B5E
tetradic
#5E751B #1B755F #321B75 #751B31
square
#5E751B #1B755F #321B75 #751B31
split-complementary
#5E751B #1B3175 #5F1B75
monochromatic
#141906 #364310 #5E751B #86A726 #AAD139

Accessibility & contrast

On white

5.20
#5E751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5E751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E751B
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E751B#FFFFFF#000000##FFFFFF
##5E751B1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D08
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#636F64
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e751b;
/* rgb */ color: rgb(94, 117, 27);
/* oklch */ color: oklch(52.6% 0.116 123.2);
Tailwind
colors: {
  custom: {
    50: '#8f9c5f',
    500: '#5e751b',
    950: '#000000',
  },
}
SCSS
$custom: #5e751b;
$custom-light: #8f9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e751b",
  "rgb": {
    "r": 94,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 75.333,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52605,
    "c": 0.11633,
    "h": 123.2
  },
  "luminance": 0.15181
}

Semantic roles & 50–950 ramp

primary
#5E751B
secondary
#5D42A9
accent
#42E66C
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E751B

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

Preview Lab → · Contrast checker → · Palette generator →

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