#4B5F12#4B5F12

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

Color values

HEX#4B5F12
RGBrgb(75, 95, 18)
HSLhsl(76, 68%, 22%)
HSVhsv(76, 81%, 37%)
CMYKcmyk(21.1%, 0%, 81.1%, 62.7%)
CIE-LABlab(37.34, -19.32, 38.55)
CIE-LCHlch(37.34, 43.12, 116.61°)
OKLaboklab(45.33% -0.0565 0.0852)
OKLCHoklch(45.33% 0.102 123.5)
XYZxyz(7.1031, 9.7239, 2.0748)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5F12 #26125F
analogous
#5F4D12 #4B5F12 #255F12
triadic
#4B5F12 #124B5F #5F124B
tetradic
#4B5F12 #125F4D #26125F #5F1225
square
#4B5F12 #125F4D #26125F #5F1225
split-complementary
#4B5F12 #12255F #4D125F
monochromatic
#141A05 #222C08 #4B5F12 #74921C #9CC625

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B5F12#FFFFFF#000000##FFFFFF
##4B5F121.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)
#655802
Deuteranopia (green-blind)
#625819
Tritanopia (blue-blind)
#4F5A51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4b5f12;
/* rgb */ color: rgb(75, 95, 18);
/* oklch */ color: oklch(45.3% 0.102 123.5);
Tailwind
colors: {
  custom: {
    50: '#808c57',
    500: '#4b5f12',
    950: '#000000',
  },
}
SCSS
$custom: #4b5f12;
$custom-light: #808c57;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5f12",
  "rgb": {
    "r": 75,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 75.584,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45328,
    "c": 0.1022,
    "h": 123.5
  },
  "luminance": 0.09724
}

Semantic roles & 50–950 ramp

primary
#4B5F12
secondary
#4F3697
accent
#3DEB6A
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #4B5F12

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

Preview Lab → · Contrast checker → · Palette generator →

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