#4B7213#4B7213

#4B7213 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.4% C 0.127 H 130.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4B7213
RGBrgb(75, 114, 19)
HSLhsl(85, 71%, 26%)
HSVhsv(85, 83%, 45%)
CMYKcmyk(34.2%, 0%, 83.3%, 55.3%)
CIE-LABlab(43.62, -28.78, 44.04)
CIE-LCHlch(43.62, 52.61, 123.16°)
OKLaboklab(50.43% -0.0821 0.0969)
OKLCHoklch(50.43% 0.127 130.3)
XYZxyz(9.0365, 13.5772, 2.7605)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7213 #3A1372
analogous
#726913 #4B7213 #1B7213
triadic
#4B7213 #134B72 #72134B
tetradic
#4B7213 #137269 #3A1372 #72131B
square
#4B7213 #137269 #3A1372 #72131B
split-complementary
#4B7213 #131B72 #691372
monochromatic
#111A04 #283E0A #4B7213 #6EA61C #90DB25

Accessibility & contrast

On white

5.65
#4B7213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4B7213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7213
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7213#FFFFFF#000000##FFFFFF
##4B72131.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#4D6D61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4b7213;
/* rgb */ color: rgb(75, 114, 19);
/* oklch */ color: oklch(50.4% 0.127 130.3);
Tailwind
colors: {
  custom: {
    50: '#819b5a',
    500: '#4b7213',
    950: '#000000',
  },
}
SCSS
$custom: #4b7213;
$custom-light: #819b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7213",
  "rgb": {
    "r": 75,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 84.632,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.5043,
    "c": 0.12703,
    "h": 130.3
  },
  "luminance": 0.13578
}

Semantic roles & 50–950 ramp

primary
#4B7213
secondary
#6638A9
accent
#3AEE84
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7213

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

Preview Lab → · Contrast checker → · Palette generator →

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