#4F5A0F#4F5A0F

#4F5A0F 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#4F5A0F
RGBrgb(79, 90, 15)
HSLhsl(69, 71%, 21%)
HSVhsv(69, 83%, 35%)
CMYKcmyk(12.2%, 0%, 83.3%, 64.7%)
CIE-LABlab(36.00, -14.89, 38.49)
CIE-LCHlch(36.00, 41.27, 111.16°)
OKLaboklab(44.32% -0.0448 0.0843)
OKLCHoklch(44.32% 0.096 118)
XYZxyz(6.9670, 9.0092, 1.8238)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5A0F #1A0F5A
analogous
#5A3F0F #4F5A0F #295A0F
triadic
#4F5A0F #0F4F5A #5A0F4F
tetradic
#4F5A0F #0F5A3F #1A0F5A #5A0F29
square
#4F5A0F #0F5A3F #1A0F5A #5A0F29
split-complementary
#4F5A0F #0F295A #3F0F5A
monochromatic
#171A04 #212606 #4F5A0F #7D8E18 #ABC320

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F5A0F#FFFFFF#000000##FFFFFF
##4F5A0F1.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)
#5F5516
Tritanopia (blue-blind)
#54544C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f5a0f;
/* rgb */ color: rgb(79, 90, 15);
/* oklch */ color: oklch(44.3% 0.096 118.0);
Tailwind
colors: {
  custom: {
    50: '#838855',
    500: '#4f5a0f',
    950: '#000000',
  },
}
SCSS
$custom: #4f5a0f;
$custom-light: #838855;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5a0f",
  "rgb": {
    "r": 79,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 68.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.44321,
    "c": 0.09552,
    "h": 118
  },
  "luminance": 0.09009
}

Semantic roles & 50–950 ramp

primary
#4F5A0F
secondary
#403194
accent
#3AEE54
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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