#4B7717#4B7717

#4B7717 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.8% C 0.131 H 131.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4B7717
RGBrgb(75, 119, 23)
HSLhsl(88, 68%, 28%)
HSVhsv(88, 81%, 47%)
CMYKcmyk(37%, 0%, 80.7%, 53.3%)
CIE-LABlab(45.29, -30.91, 44.28)
CIE-LCHlch(45.29, 54.00, 124.91°)
OKLaboklab(51.8% -0.0875 0.0981)
OKLCHoklch(51.8% 0.131 131.7)
XYZxyz(9.6530, 14.7510, 3.1491)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7717 #431777
analogous
#777317 #4B7717 #1B7717
triadic
#4B7717 #174B77 #77174B
tetradic
#4B7717 #177773 #431777 #77171B
square
#4B7717 #177773 #431777 #77171B
split-complementary
#4B7717 #171B77 #731777
monochromatic
#101A05 #2B440D #4B7717 #6BAA21 #8BD731

Accessibility & contrast

On white

5.32
#4B7717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4B7717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7717
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7717#FFFFFF#000000##FFFFFF
##4B77171.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#4C7265
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4b7717;
/* rgb */ color: rgb(75, 119, 23);
/* oklch */ color: oklch(51.8% 0.131 131.7);
Tailwind
colors: {
  custom: {
    50: '#829e5d',
    500: '#4b7717',
    950: '#000000',
  },
}
SCSS
$custom: #4b7717;
$custom-light: #829e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7717",
  "rgb": {
    "r": 75,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 87.5,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.518,
    "c": 0.13149,
    "h": 131.7
  },
  "luminance": 0.14751
}

Semantic roles & 50–950 ramp

primary
#4B7717
secondary
#703EAC
accent
#3DEA8D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7717

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

Preview Lab → · Contrast checker → · Palette generator →

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