#4B7323#4B7323

#4B7323 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 50.8% C 0.118 H 132.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4B7323
RGBrgb(75, 115, 35)
HSLhsl(90, 53%, 29%)
HSVhsv(90, 70%, 45%)
CMYKcmyk(34.8%, 0%, 69.6%, 54.9%)
CIE-LABlab(44.06, -28.18, 38.32)
CIE-LCHlch(44.06, 47.57, 126.32°)
OKLaboklab(50.82% -0.0791 0.0875)
OKLCHoklch(50.82% 0.118 132.1)
XYZxyz(9.3356, 13.8783, 3.7767)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7323 #4B2373
analogous
#737323 #4B7323 #237323
triadic
#4B7323 #234B73 #73234B
tetradic
#4B7323 #237373 #4B2373 #732323
square
#4B7323 #237373 #4B2373 #732323
split-complementary
#4B7323 #232373 #732373
monochromatic
#0F1707 #2C4415 #4B7323 #6AA231 #88C849

Accessibility & contrast

On white

5.56
#4B7323 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4B7323 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7323
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7323#FFFFFF#000000##FFFFFF
##4B73231.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A18
Deuteranopia (green-blind)
#72672A
Tritanopia (blue-blind)
#4C6E63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4b7323;
/* rgb */ color: rgb(75, 115, 35);
/* oklch */ color: oklch(50.8% 0.118 132.1);
Tailwind
colors: {
  custom: {
    50: '#819b62',
    500: '#4b7323',
    950: '#000000',
  },
}
SCSS
$custom: #4b7323;
$custom-light: #819b62;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7323",
  "rgb": {
    "r": 75,
    "g": 115,
    "b": 35
  },
  "hsl": {
    "h": 90,
    "s": 53.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50821,
    "c": 0.11799,
    "h": 132.1
  },
  "luminance": 0.13879
}

Semantic roles & 50–950 ramp

primary
#4B7323
secondary
#794CA6
accent
#4BDD94
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #4B7323

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

Preview Lab → · Contrast checker → · Palette generator →

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