#4B7214#4B7214

#4B7214 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#4B7214
RGBrgb(75, 114, 20)
HSLhsl(85, 70%, 26%)
HSVhsv(85, 82%, 45%)
CMYKcmyk(34.2%, 0%, 82.5%, 55.3%)
CIE-LABlab(43.63, -28.73, 43.72)
CIE-LCHlch(43.63, 52.32, 123.31°)
OKLaboklab(50.44% -0.0819 0.0964)
OKLCHoklch(50.44% 0.127 130.3)
XYZxyz(9.0452, 13.5807, 2.8064)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7214 #3B1472
analogous
#726A14 #4B7214 #1C7214
triadic
#4B7214 #144B72 #72144B
tetradic
#4B7214 #14726A #3B1472 #72141C
square
#4B7214 #14726A #3B1472 #72141C
split-complementary
#4B7214 #141C72 #6A1472
monochromatic
#111A05 #293E0B #4B7214 #6DA61D #8FD927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B7214#FFFFFF#000000##FFFFFF
##4B72141.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: #4b7214;
/* rgb */ color: rgb(75, 114, 20);
/* oklch */ color: oklch(50.4% 0.127 130.3);
Tailwind
colors: {
  custom: {
    50: '#819b5b',
    500: '#4b7214',
    950: '#000000',
  },
}
SCSS
$custom: #4b7214;
$custom-light: #819b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7214",
  "rgb": {
    "r": 75,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 84.894,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50436,
    "c": 0.12651,
    "h": 130.3
  },
  "luminance": 0.13581
}

Semantic roles & 50–950 ramp

primary
#4B7214
secondary
#6739A8
accent
#3BED85
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7214

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

Preview Lab → · Contrast checker → · Palette generator →

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