#4B6412#4B6412

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

Color values

HEX#4B6412
RGBrgb(75, 100, 18)
HSLhsl(78, 69%, 23%)
HSVhsv(78, 82%, 39%)
CMYKcmyk(25%, 0%, 82%, 60.8%)
CIE-LABlab(38.99, -21.92, 40.09)
CIE-LCHlch(38.99, 45.70, 118.67°)
OKLaboklab(46.66% -0.0636 0.0884)
OKLCHoklch(46.66% 0.109 125.7)
XYZxyz(7.5681, 10.6538, 2.2298)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6412 #2B1264
analogous
#645412 #4B6412 #226412
triadic
#4B6412 #124B64 #64124B
tetradic
#4B6412 #126454 #2B1264 #641222
square
#4B6412 #126454 #2B1264 #641222
split-complementary
#4B6412 #122264 #541264
monochromatic
#131A05 #243009 #4B6412 #72981B #99CC25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B6412#FFFFFF#000000##FFFFFF
##4B64121.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)
#6A5D00
Deuteranopia (green-blind)
#665B1A
Tritanopia (blue-blind)
#4F5F55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4b6412;
/* rgb */ color: rgb(75, 100, 18);
/* oklch */ color: oklch(46.7% 0.109 125.7);
Tailwind
colors: {
  custom: {
    50: '#809058',
    500: '#4b6412',
    950: '#000000',
  },
}
SCSS
$custom: #4b6412;
$custom-light: #809058;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6412",
  "rgb": {
    "r": 75,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 78.293,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46663,
    "c": 0.10893,
    "h": 125.7
  },
  "luminance": 0.10654
}

Semantic roles & 50–950 ramp

primary
#4B6412
secondary
#55369C
accent
#3BEC71
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #4B6412

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

Preview Lab → · Contrast checker → · Palette generator →

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