#4F6015#4F6015

#4F6015 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.9% C 0.100 H 121.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#4F6015
RGBrgb(79, 96, 21)
HSLhsl(74, 64%, 23%)
HSVhsv(74, 78%, 38%)
CMYKcmyk(17.7%, 0%, 78.1%, 62.4%)
CIE-LABlab(37.99, -17.85, 38.14)
CIE-LCHlch(37.99, 42.11, 115.08°)
OKLaboklab(45.93% -0.0524 0.0848)
OKLCHoklch(45.93% 0.1 121.7)
XYZxyz(7.5428, 10.0821, 2.2580)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6015 #261560
analogous
#604B15 #4F6015 #296015
triadic
#4F6015 #154F60 #60154F
tetradic
#4F6015 #15604B #261560 #601529
square
#4F6015 #15604B #261560 #601529
split-complementary
#4F6015 #152960 #4B1560
monochromatic
#151905 #262E0A #4F6015 #789220 #A2C42B

Accessibility & contrast

On white

6.96
#4F6015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4F6015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6015
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6015#FFFFFF#000000##FFFFFF
##4F60151.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A06
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#545B52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f6015;
/* rgb */ color: rgb(79, 96, 21);
/* oklch */ color: oklch(45.9% 0.100 121.7);
Tailwind
colors: {
  custom: {
    50: '#838d59',
    500: '#4f6015',
    950: '#000000',
  },
}
SCSS
$custom: #4f6015;
$custom-light: #838d59;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6015",
  "rgb": {
    "r": 79,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 73.6,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45934,
    "c": 0.09965,
    "h": 121.7
  },
  "luminance": 0.10082
}

Semantic roles & 50–950 ramp

primary
#4F6015
secondary
#4F3A97
accent
#41E766
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F6015

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

Preview Lab → · Contrast checker → · Palette generator →

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