#4F5B0C#4F5B0C

#4F5B0C is a dark, moderate yellow. Relative luminance 0.092; OKLCH L 44.6% C 0.098 H 118.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#4F5B0C
RGBrgb(79, 91, 12)
HSLhsl(69, 77%, 20%)
HSVhsv(69, 87%, 36%)
CMYKcmyk(13.2%, 0%, 86.8%, 64.3%)
CIE-LABlab(36.31, -15.58, 39.74)
CIE-LCHlch(36.31, 42.69, 111.40°)
OKLaboklab(44.57% -0.047 0.0864)
OKLCHoklch(44.57% 0.098 118.5)
XYZxyz(7.0321, 9.1710, 1.7475)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5B0C #180C5B
analogous
#5B3F0C #4F5B0C #275B0C
triadic
#4F5B0C #0C4F5B #5B0C4F
tetradic
#4F5B0C #0C5B3F #180C5B #5B0C27
square
#4F5B0C #0C5B3F #180C5B #5B0C27
split-complementary
#4F5B0C #0C275B #3F0C5B
monochromatic
#171B04 #202505 #4F5B0C #7E9113 #ADC71A

Accessibility & contrast

On white

7.41
#4F5B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4F5B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5B0C
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5B0C#FFFFFF#000000##FFFFFF
##4F5B0C1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625500
Deuteranopia (green-blind)
#605614
Tritanopia (blue-blind)
#54554D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f5b0c;
/* rgb */ color: rgb(79, 91, 12);
/* oklch */ color: oklch(44.6% 0.098 118.5);
Tailwind
colors: {
  custom: {
    50: '#838954',
    500: '#4f5b0c',
    950: '#000000',
  },
}
SCSS
$custom: #4f5b0c;
$custom-light: #838954;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5b0c",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 12
  },
  "hsl": {
    "h": 69.114,
    "s": 76.699,
    "l": 20.196
  },
  "oklch": {
    "l": 0.44565,
    "c": 0.09837,
    "h": 118.5
  },
  "luminance": 0.09171
}

Semantic roles & 50–950 ramp

primary
#4F5B0C
secondary
#3D2D96
accent
#35F352
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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