#4F5B10#4F5B10

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

Color values

HEX#4F5B10
RGBrgb(79, 91, 16)
HSLhsl(70, 70%, 21%)
HSVhsv(70, 82%, 36%)
CMYKcmyk(13.2%, 0%, 82.4%, 64.3%)
CIE-LABlab(36.33, -15.40, 38.44)
CIE-LCHlch(36.33, 41.41, 111.83°)
OKLaboklab(44.59% -0.0461 0.0844)
OKLCHoklch(44.59% 0.096 118.7)
XYZxyz(7.0592, 9.1819, 1.8905)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5B10 #1C105B
analogous
#5B4110 #4F5B10 #295B10
triadic
#4F5B10 #104F5B #5B104F
tetradic
#4F5B10 #105B41 #1C105B #5B1029
square
#4F5B10 #105B41 #1C105B #5B1029
split-complementary
#4F5B10 #10295B #41105B
monochromatic
#171A05 #222707 #4F5B10 #7C8F19 #A9C322

Accessibility & contrast

On white

7.40
#4F5B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4F5B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5B10
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5B10#FFFFFF#000000##FFFFFF
##4F5B101.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f5b10;
/* rgb */ color: rgb(79, 91, 16);
/* oklch */ color: oklch(44.6% 0.096 118.7);
Tailwind
colors: {
  custom: {
    50: '#838955',
    500: '#4f5b10',
    950: '#000000',
  },
}
SCSS
$custom: #4f5b10;
$custom-light: #838955;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5b10",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 16
  },
  "hsl": {
    "h": 69.6,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44588,
    "c": 0.09622,
    "h": 118.7
  },
  "luminance": 0.09182
}

Semantic roles & 50–950 ramp

primary
#4F5B10
secondary
#423394
accent
#3BED57
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5B10

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

Preview Lab → · Contrast checker → · Palette generator →

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