#4F6312#4F6312

#4F6312 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#4F6312
RGBrgb(79, 99, 18)
HSLhsl(75, 69%, 23%)
HSVhsv(75, 82%, 39%)
CMYKcmyk(20.2%, 0%, 81.8%, 61.2%)
CIE-LABlab(38.95, -19.61, 40.16)
CIE-LCHlch(38.95, 44.69, 116.03°)
OKLaboklab(46.7% -0.0575 0.0885)
OKLCHoklch(46.7% 0.106 123)
XYZxyz(7.7956, 10.6296, 2.2132)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6312 #261263
analogous
#634E12 #4F6312 #266312
triadic
#4F6312 #124F63 #63124F
tetradic
#4F6312 #12634E #261263 #631226
square
#4F6312 #12634E #261263 #631226
split-complementary
#4F6312 #122663 #4E1263
monochromatic
#151A05 #262F09 #4F6312 #78971B #A2CB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F6312#FFFFFF#000000##FFFFFF
##4F63121.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)
#675C1A
Tritanopia (blue-blind)
#535E54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f6312;
/* rgb */ color: rgb(79, 99, 18);
/* oklch */ color: oklch(46.7% 0.106 123.0);
Tailwind
colors: {
  custom: {
    50: '#838f58',
    500: '#4f6312',
    950: '#000000',
  },
}
SCSS
$custom: #4f6312;
$custom-light: #838f58;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6312",
  "rgb": {
    "r": 79,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 74.815,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46704,
    "c": 0.10551,
    "h": 123
  },
  "luminance": 0.1063
}

Semantic roles & 50–950 ramp

primary
#4F6312
secondary
#4F369B
accent
#3CEC67
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4F6312

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

Preview Lab → · Contrast checker → · Palette generator →

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