#4C7213#4C7213

#4C7213 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.5% C 0.126 H 129.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4C7213
RGBrgb(76, 114, 19)
HSLhsl(84, 71%, 26%)
HSVhsv(84, 83%, 45%)
CMYKcmyk(33.3%, 0%, 83.3%, 55.3%)
CIE-LABlab(43.68, -28.38, 44.12)
CIE-LCHlch(43.68, 52.45, 122.75°)
OKLaboklab(50.49% -0.0811 0.0971)
OKLCHoklch(50.49% 0.126 129.9)
XYZxyz(9.1153, 13.6179, 2.7642)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7213 #391372
analogous
#726813 #4C7213 #1C7213
triadic
#4C7213 #134C72 #72134C
tetradic
#4C7213 #137268 #391372 #72131C
square
#4C7213 #137268 #391372 #72131C
split-complementary
#4C7213 #131C72 #681372
monochromatic
#111A04 #293E0A #4C7213 #6FA61C #92DB25

Accessibility & contrast

On white

5.64
#4C7213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C7213
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7213#FFFFFF#000000##FFFFFF
##4C72131.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c7213;
/* rgb */ color: rgb(76, 114, 19);
/* oklch */ color: oklch(50.5% 0.126 129.9);
Tailwind
colors: {
  custom: {
    50: '#829b5a',
    500: '#4c7213',
    950: '#000000',
  },
}
SCSS
$custom: #4c7213;
$custom-light: #829b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7213",
  "rgb": {
    "r": 76,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 84,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50494,
    "c": 0.12646,
    "h": 129.9
  },
  "luminance": 0.13618
}

Semantic roles & 50–950 ramp

primary
#4C7213
secondary
#6538A9
accent
#3AEE82
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7213

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

Preview Lab → · Contrast checker → · Palette generator →

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