#4B5F11#4B5F11

#4B5F11 is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.3% C 0.103 H 123.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#4B5F11
RGBrgb(75, 95, 17)
HSLhsl(75, 70%, 22%)
HSVhsv(75, 82%, 37%)
CMYKcmyk(21.1%, 0%, 82.1%, 62.7%)
CIE-LABlab(37.34, -19.37, 38.90)
CIE-LCHlch(37.34, 43.46, 116.47°)
OKLaboklab(45.32% -0.0567 0.0857)
OKLCHoklch(45.32% 0.103 123.5)
XYZxyz(7.0951, 9.7207, 2.0327)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5F11 #25115F
analogous
#5F4C11 #4B5F11 #245F11
triadic
#4B5F11 #114B5F #5F114B
tetradic
#4B5F11 #115F4C #25115F #5F1124
square
#4B5F11 #115F4C #25115F #5F1124
split-complementary
#4B5F11 #11245F #4C115F
monochromatic
#141A05 #222B08 #4B5F11 #74931A #9DC724

Accessibility & contrast

On white

7.13
#4B5F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4B5F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B5F11
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5F11#FFFFFF#000000##FFFFFF
##4B5F111.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#625819
Tritanopia (blue-blind)
#4F5A50
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4b5f11;
/* rgb */ color: rgb(75, 95, 17);
/* oklch */ color: oklch(45.3% 0.103 123.5);
Tailwind
colors: {
  custom: {
    50: '#808c56',
    500: '#4b5f11',
    950: '#000000',
  },
}
SCSS
$custom: #4b5f11;
$custom-light: #808c56;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5f11",
  "rgb": {
    "r": 75,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 75.385,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45322,
    "c": 0.10279,
    "h": 123.5
  },
  "luminance": 0.09721
}

Semantic roles & 50–950 ramp

primary
#4B5F11
secondary
#4E3498
accent
#3BEC69
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #4B5F11

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

Preview Lab → · Contrast checker → · Palette generator →

#4B5F11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva