#4B5712#4B5712

#4B5712 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.2% C 0.091 H 119.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4B5712
RGBrgb(75, 87, 18)
HSLhsl(70, 66%, 21%)
HSVhsv(70, 79%, 34%)
CMYKcmyk(13.8%, 0%, 79.3%, 65.9%)
CIE-LABlab(34.71, -14.97, 36.05)
CIE-LCHlch(34.71, 39.04, 112.56°)
OKLaboklab(43.21% -0.0445 0.0799)
OKLCHoklch(43.21% 0.091 119.1)
XYZxyz(6.4192, 8.3560, 1.8468)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5712 #1E1257
analogous
#574012 #4B5712 #285712
triadic
#4B5712 #124B57 #57124B
tetradic
#4B5712 #125740 #1E1257 #571228
square
#4B5712 #125740 #1E1257 #571228
split-complementary
#4B5712 #122857 #401257
monochromatic
#161905 #1F2408 #4B5712 #778A1C #A2BC27

Accessibility & contrast

On white

7.86
#4B5712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4B5712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B5712
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5712#FFFFFF#000000##FFFFFF
##4B57121.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5205
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#50524A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4b5712;
/* rgb */ color: rgb(75, 87, 18);
/* oklch */ color: oklch(43.2% 0.091 119.1);
Tailwind
colors: {
  custom: {
    50: '#808656',
    500: '#4b5712',
    950: '#000000',
  },
}
SCSS
$custom: #4b5712;
$custom-light: #808656;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5712",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 70.435,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.43207,
    "c": 0.09149,
    "h": 119.1
  },
  "luminance": 0.08356
}

Semantic roles & 50–950 ramp

primary
#4B5712
secondary
#453590
accent
#3FE95D
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4B5712

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

Preview Lab → · Contrast checker → · Palette generator →

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