#4F6311#4F6311

#4F6311 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.7% C 0.106 H 123.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#4F6311
RGBrgb(79, 99, 17)
HSLhsl(75, 71%, 23%)
HSVhsv(75, 83%, 39%)
CMYKcmyk(20.2%, 0%, 82.8%, 61.2%)
CIE-LABlab(38.94, -19.66, 40.50)
CIE-LCHlch(38.94, 45.02, 115.90°)
OKLaboklab(46.7% -0.0577 0.089)
OKLCHoklch(46.7% 0.106 123)
XYZxyz(7.7876, 10.6264, 2.1710)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6311 #251163
analogous
#634E11 #4F6311 #266311
triadic
#4F6311 #114F63 #63114F
tetradic
#4F6311 #11634E #251163 #631126
square
#4F6311 #11634E #251163 #631126
split-complementary
#4F6311 #112663 #4E1163
monochromatic
#151A04 #252F08 #4F6311 #79971A #A2CB23

Accessibility & contrast

On white

6.72
#4F6311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4F6311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6311
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6311#FFFFFF#000000##FFFFFF
##4F63111.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#675C19
Tritanopia (blue-blind)
#545E54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f6311;
/* rgb */ color: rgb(79, 99, 17);
/* oklch */ color: oklch(46.7% 0.106 123.0);
Tailwind
colors: {
  custom: {
    50: '#838f57',
    500: '#4f6311',
    950: '#000000',
  },
}
SCSS
$custom: #4f6311;
$custom-light: #838f57;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6311",
  "rgb": {
    "r": 79,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 74.634,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.46697,
    "c": 0.10608,
    "h": 123
  },
  "luminance": 0.10626
}

Semantic roles & 50–950 ramp

primary
#4F6311
secondary
#4E349B
accent
#3AED66
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4F6311

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

Preview Lab → · Contrast checker → · Palette generator →

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