#4B6017#4B6017

#4B6017 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.6% C 0.100 H 124.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#4B6017
RGBrgb(75, 96, 23)
HSLhsl(77, 61%, 23%)
HSVhsv(77, 76%, 38%)
CMYKcmyk(21.9%, 0%, 76%, 62.4%)
CIE-LABlab(37.70, -19.54, 36.95)
CIE-LCHlch(37.70, 41.80, 117.87°)
OKLaboklab(45.63% -0.0566 0.0827)
OKLCHoklch(45.63% 0.1 124.4)
XYZxyz(7.2392, 9.9234, 2.3445)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6017 #2C1760
analogous
#605017 #4B6017 #266017
triadic
#4B6017 #174B60 #60174B
tetradic
#4B6017 #176050 #2C1760 #601726
square
#4B6017 #176050 #2C1760 #601726
split-complementary
#4B6017 #172660 #501760
monochromatic
#131906 #242F0B #4B6017 #729123 #98C32F

Accessibility & contrast

On white

7.04
#4B6017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4B6017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B6017
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6017#FFFFFF#000000##FFFFFF
##4B60171.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66590A
Deuteranopia (green-blind)
#63591D
Tritanopia (blue-blind)
#4F5B52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4b6017;
/* rgb */ color: rgb(75, 96, 23);
/* oklch */ color: oklch(45.6% 0.100 124.4);
Tailwind
colors: {
  custom: {
    50: '#808d59',
    500: '#4b6017',
    950: '#000000',
  },
}
SCSS
$custom: #4b6017;
$custom-light: #808d59;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6017",
  "rgb": {
    "r": 75,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 77.26,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45632,
    "c": 0.10025,
    "h": 124.4
  },
  "luminance": 0.09923
}

Semantic roles & 50–950 ramp

primary
#4B6017
secondary
#563C97
accent
#43E472
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4B6017

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

Preview Lab → · Contrast checker → · Palette generator →

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