#5B751C#5B751C

#5B751C is a mid, moderate yellow-green. Relative luminance 0.150; OKLCH L 52.4% C 0.117 H 124.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5B751C
RGBrgb(91, 117, 28)
HSLhsl(78, 61%, 28%)
HSVhsv(78, 76%, 46%)
CMYKcmyk(22.2%, 0%, 76.1%, 54.1%)
CIE-LABlab(45.68, -23.03, 43.20)
CIE-LCHlch(45.68, 48.95, 118.06°)
OKLaboklab(52.39% -0.0668 0.0963)
OKLCHoklch(52.39% 0.117 124.7)
XYZxyz(10.8854, 15.0304, 3.4261)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B751C #361C75
analogous
#75621C #5B751C #2E751C
triadic
#5B751C #1C5B75 #751C5B
tetradic
#5B751C #1C7562 #361C75 #751C2E
square
#5B751C #1C7562 #361C75 #751C2E
split-complementary
#5B751C #1C2E75 #621C75
monochromatic
#131906 #354410 #5B751C #81A628 #A5D03B

Accessibility & contrast

On white

5.24
#5B751C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5B751C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B751C
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B751C#FFFFFF#000000##FFFFFF
##5B751C1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0B
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#5F6F64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b751c;
/* rgb */ color: rgb(91, 117, 28);
/* oklch */ color: oklch(52.4% 0.117 124.7);
Tailwind
colors: {
  custom: {
    50: '#8c9c5f',
    500: '#5b751c',
    950: '#000000',
  },
}
SCSS
$custom: #5b751c;
$custom-light: #8c9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b751c",
  "rgb": {
    "r": 91,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 77.528,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52386,
    "c": 0.11718,
    "h": 124.7
  },
  "luminance": 0.15031
}

Semantic roles & 50–950 ramp

primary
#5B751C
secondary
#6144A9
accent
#43E472
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5B751C

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

Preview Lab → · Contrast checker → · Palette generator →

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