#4F6215#4F6215

#4F6215 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.5% C 0.102 H 122.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4F6215
RGBrgb(79, 98, 21)
HSLhsl(75, 65%, 23%)
HSVhsv(75, 79%, 38%)
CMYKcmyk(19.4%, 0%, 78.6%, 61.6%)
CIE-LABlab(38.64, -18.92, 38.77)
CIE-LCHlch(38.64, 43.13, 116.01°)
OKLaboklab(46.46% -0.0554 0.0861)
OKLCHoklch(46.46% 0.102 122.7)
XYZxyz(7.7276, 10.4517, 2.3196)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6215 #281562
analogous
#624E15 #4F6215 #286215
triadic
#4F6215 #154F62 #62154F
tetradic
#4F6215 #15624E #281562 #621528
square
#4F6215 #15624E #281562 #621528
split-complementary
#4F6215 #152862 #4E1562
monochromatic
#141905 #26300A #4F6215 #789420 #A0C72B

Accessibility & contrast

On white

6.80
#4F6215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4F6215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6215
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6215#FFFFFF#000000##FFFFFF
##4F62151.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B06
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#535D53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f6215;
/* rgb */ color: rgb(79, 98, 21);
/* oklch */ color: oklch(46.5% 0.102 122.7);
Tailwind
colors: {
  custom: {
    50: '#838e59',
    500: '#4f6215',
    950: '#000000',
  },
}
SCSS
$custom: #4f6215;
$custom-light: #838e59;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6215",
  "rgb": {
    "r": 79,
    "g": 98,
    "b": 21
  },
  "hsl": {
    "h": 74.805,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4646,
    "c": 0.10234,
    "h": 122.7
  },
  "luminance": 0.10452
}

Semantic roles & 50–950 ramp

primary
#4F6215
secondary
#513A99
accent
#40E869
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F6215

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

Preview Lab → · Contrast checker → · Palette generator →

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