#4F6315#4F6315

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

Color values

HEX#4F6315
RGBrgb(79, 99, 21)
HSLhsl(75, 65%, 24%)
HSVhsv(75, 79%, 39%)
CMYKcmyk(20.2%, 0%, 78.8%, 61.2%)
CIE-LABlab(38.97, -19.45, 39.08)
CIE-LCHlch(38.97, 43.65, 116.46°)
OKLaboklab(46.72% -0.0568 0.0867)
OKLCHoklch(46.72% 0.104 123.2)
XYZxyz(7.8217, 10.6400, 2.3510)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6315 #291563
analogous
#635015 #4F6315 #286315
triadic
#4F6315 #154F63 #63154F
tetradic
#4F6315 #156350 #291563 #631528
square
#4F6315 #156350 #291563 #631528
split-complementary
#4F6315 #152863 #501563
monochromatic
#141905 #27310A #4F6315 #779520 #A0C82A

Accessibility & contrast

On white

6.71
#4F6315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F6315
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6315#FFFFFF#000000##FFFFFF
##4F63151.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C05
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#535E54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f6315;
/* rgb */ color: rgb(79, 99, 21);
/* oklch */ color: oklch(46.7% 0.104 123.2);
Tailwind
colors: {
  custom: {
    50: '#838f59',
    500: '#4f6315',
    950: '#000000',
  },
}
SCSS
$custom: #4f6315;
$custom-light: #838f59;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6315",
  "rgb": {
    "r": 79,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 75.385,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46724,
    "c": 0.10368,
    "h": 123.2
  },
  "luminance": 0.1064
}

Semantic roles & 50–950 ramp

primary
#4F6315
secondary
#523A9A
accent
#40E86B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F6315

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

Preview Lab → · Contrast checker → · Palette generator →

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