#4F6213#4F6213

#4F6213 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.4% C 0.104 H 122.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4F6213
RGBrgb(79, 98, 19)
HSLhsl(74, 68%, 23%)
HSVhsv(74, 81%, 38%)
CMYKcmyk(19.4%, 0%, 80.6%, 61.6%)
CIE-LABlab(38.63, -19.03, 39.50)
CIE-LCHlch(38.63, 43.85, 115.72°)
OKLaboklab(46.45% -0.0558 0.0872)
OKLCHoklch(46.45% 0.104 122.6)
XYZxyz(7.7098, 10.4446, 2.2258)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6213 #261362
analogous
#624D13 #4F6213 #286213
triadic
#4F6213 #134F62 #62134F
tetradic
#4F6213 #13624D #261362 #621328
square
#4F6213 #13624D #261362 #621328
split-complementary
#4F6213 #132862 #4D1362
monochromatic
#151A05 #262F09 #4F6213 #78951D #A2C927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F6213#FFFFFF#000000##FFFFFF
##4F62131.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)
#685B02
Deuteranopia (green-blind)
#665B1A
Tritanopia (blue-blind)
#545D53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f6213;
/* rgb */ color: rgb(79, 98, 19);
/* oklch */ color: oklch(46.4% 0.104 122.6);
Tailwind
colors: {
  custom: {
    50: '#838e58',
    500: '#4f6213',
    950: '#000000',
  },
}
SCSS
$custom: #4f6213;
$custom-light: #838e58;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6213",
  "rgb": {
    "r": 79,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 74.43,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46446,
    "c": 0.10359,
    "h": 122.6
  },
  "luminance": 0.10445
}

Semantic roles & 50–950 ramp

primary
#4F6213
secondary
#4F379A
accent
#3DEA67
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F6213

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

Preview Lab → · Contrast checker → · Palette generator →

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