#4F5A10#4F5A10

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

Color values

HEX#4F5A10
RGBrgb(79, 90, 16)
HSLhsl(69, 70%, 21%)
HSVhsv(69, 82%, 35%)
CMYKcmyk(12.2%, 0%, 82.2%, 64.7%)
CIE-LABlab(36.01, -14.84, 38.14)
CIE-LCHlch(36.01, 40.93, 111.27°)
OKLaboklab(44.33% -0.0446 0.0838)
OKLCHoklch(44.33% 0.095 118)
XYZxyz(6.9743, 9.0121, 1.8622)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5A10 #1B105A
analogous
#5A4010 #4F5A10 #2A5A10
triadic
#4F5A10 #104F5A #5A104F
tetradic
#4F5A10 #105A40 #1B105A #5A102A
square
#4F5A10 #105A40 #1B105A #5A102A
split-complementary
#4F5A10 #102A5A #40105A
monochromatic
#171A05 #212607 #4F5A10 #7D8E19 #AAC222

Accessibility & contrast

On white

7.49
#4F5A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F5A10
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5A10#FFFFFF#000000##FFFFFF
##4F5A101.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615501
Deuteranopia (green-blind)
#5F5517
Tritanopia (blue-blind)
#54554C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f5a10;
/* rgb */ color: rgb(79, 90, 16);
/* oklch */ color: oklch(44.3% 0.095 118.0);
Tailwind
colors: {
  custom: {
    50: '#838855',
    500: '#4f5a10',
    950: '#000000',
  },
}
SCSS
$custom: #4f5a10;
$custom-light: #838855;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5a10",
  "rgb": {
    "r": 79,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 68.919,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.44327,
    "c": 0.09494,
    "h": 118
  },
  "luminance": 0.09012
}

Semantic roles & 50–950 ramp

primary
#4F5A10
secondary
#413393
accent
#3BED56
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5A10

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

Preview Lab → · Contrast checker → · Palette generator →

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