#4F5A0E#4F5A0E

#4F5A0E is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.3% C 0.096 H 118.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#4F5A0E
RGBrgb(79, 90, 14)
HSLhsl(69, 73%, 20%)
HSVhsv(69, 84%, 35%)
CMYKcmyk(12.2%, 0%, 84.4%, 64.7%)
CIE-LABlab(36.00, -14.94, 38.82)
CIE-LCHlch(36.00, 41.60, 111.05°)
OKLaboklab(44.32% -0.0451 0.0849)
OKLCHoklch(44.32% 0.096 118)
XYZxyz(6.9600, 9.0064, 1.7871)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5A0E #190E5A
analogous
#5A3F0E #4F5A0E #295A0E
triadic
#4F5A0E #0E4F5A #5A0E4F
tetradic
#4F5A0E #0E5A3F #190E5A #5A0E29
square
#4F5A0E #0E5A3F #190E5A #5A0E29
split-complementary
#4F5A0E #0E295A #3F0E5A
monochromatic
#171A04 #212506 #4F5A0E #7D8F16 #ACC41E

Accessibility & contrast

On white

7.50
#4F5A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4F5A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5A0E
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5A0E#FFFFFF#000000##FFFFFF
##4F5A0E1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#605515
Tritanopia (blue-blind)
#54544C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f5a0e;
/* rgb */ color: rgb(79, 90, 14);
/* oklch */ color: oklch(44.3% 0.096 118.0);
Tailwind
colors: {
  custom: {
    50: '#838854',
    500: '#4f5a0e',
    950: '#000000',
  },
}
SCSS
$custom: #4f5a0e;
$custom-light: #838854;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5a0e",
  "rgb": {
    "r": 79,
    "g": 90,
    "b": 14
  },
  "hsl": {
    "h": 68.684,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.44315,
    "c": 0.09608,
    "h": 118
  },
  "luminance": 0.09006
}

Semantic roles & 50–950 ramp

primary
#4F5A0E
secondary
#3E3094
accent
#38F053
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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