#4B6712#4B6712

#4B6712 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.5% C 0.113 H 126.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#4B6712
RGBrgb(75, 103, 18)
HSLhsl(80, 70%, 24%)
HSVhsv(80, 83%, 40%)
CMYKcmyk(27.2%, 0%, 82.5%, 59.6%)
CIE-LABlab(39.98, -23.45, 41.01)
CIE-LCHlch(39.98, 47.25, 119.76°)
OKLaboklab(47.47% -0.0677 0.0904)
OKLCHoklch(47.47% 0.113 126.9)
XYZxyz(7.8611, 11.2399, 2.3275)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6712 #2E1267
analogous
#675812 #4B6712 #206712
triadic
#4B6712 #124B67 #67124B
tetradic
#4B6712 #126758 #2E1267 #671220
square
#4B6712 #126758 #2E1267 #671220
split-complementary
#4B6712 #122067 #581267
monochromatic
#131A05 #253309 #4B6712 #719B1B #97CF24

Accessibility & contrast

On white

6.47
#4B6712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4B6712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6712
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6712#FFFFFF#000000##FFFFFF
##4B67121.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#695E1B
Tritanopia (blue-blind)
#4E6257
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4b6712;
/* rgb */ color: rgb(75, 103, 18);
/* oklch */ color: oklch(47.5% 0.113 126.9);
Tailwind
colors: {
  custom: {
    50: '#809258',
    500: '#4b6712',
    950: '#000000',
  },
}
SCSS
$custom: #4b6712;
$custom-light: #809258;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6712",
  "rgb": {
    "r": 75,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 79.765,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.47467,
    "c": 0.11295,
    "h": 126.9
  },
  "luminance": 0.1124
}

Semantic roles & 50–950 ramp

primary
#4B6712
secondary
#59369F
accent
#3BED75
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4B6712

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

Preview Lab → · Contrast checker → · Palette generator →

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