#4B6211#4B6211

#4B6211 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.1% C 0.107 H 124.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4B6211
RGBrgb(75, 98, 17)
HSLhsl(77, 70%, 23%)
HSVhsv(77, 83%, 38%)
CMYKcmyk(23.5%, 0%, 82.7%, 61.6%)
CIE-LABlab(38.33, -20.94, 39.82)
CIE-LCHlch(38.33, 44.99, 117.74°)
OKLaboklab(46.12% -0.061 0.0877)
OKLCHoklch(46.12% 0.107 124.8)
XYZxyz(7.3706, 10.2716, 2.1245)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6211 #281162
analogous
#625011 #4B6211 #226211
triadic
#4B6211 #114B62 #62114B
tetradic
#4B6211 #116250 #281162 #621122
square
#4B6211 #116250 #281162 #621122
split-complementary
#4B6211 #112262 #501162
monochromatic
#141A05 #232E08 #4B6211 #73961A #9BCA23

Accessibility & contrast

On white

6.88
#4B6211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4B6211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6211
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6211#FFFFFF#000000##FFFFFF
##4B62111.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#4F5D53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4b6211;
/* rgb */ color: rgb(75, 98, 17);
/* oklch */ color: oklch(46.1% 0.107 124.8);
Tailwind
colors: {
  custom: {
    50: '#808e57',
    500: '#4b6211',
    950: '#000000',
  },
}
SCSS
$custom: #4b6211;
$custom-light: #808e57;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6211",
  "rgb": {
    "r": 75,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 77.037,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46122,
    "c": 0.10681,
    "h": 124.8
  },
  "luminance": 0.10272
}

Semantic roles & 50–950 ramp

primary
#4B6211
secondary
#51349A
accent
#3BED6D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #4B6211

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

Preview Lab → · Contrast checker → · Palette generator →

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