#5F6D10#5F6D10

#5F6D10 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.6% C 0.112 H 118.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5F6D10
RGBrgb(95, 109, 16)
HSLhsl(69, 74%, 25%)
HSVhsv(69, 85%, 43%)
CMYKcmyk(12.8%, 0%, 85.3%, 57.3%)
CIE-LABlab(43.37, -17.67, 45.24)
CIE-LCHlch(43.37, 48.57, 111.33°)
OKLaboklab(50.58% -0.0533 0.0983)
OKLCHoklch(50.58% 0.112 118.5)
XYZxyz(10.2817, 13.4077, 2.5364)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6D10 #1E106D
analogous
#6D4D10 #5F6D10 #316D10
triadic
#5F6D10 #105F6D #6D105F
tetradic
#5F6D10 #106D4D #1E106D #6D1031
square
#5F6D10 #106D4D #1E106D #6D1031
split-complementary
#5F6D10 #10316D #4D106D
monochromatic
#171B04 #303808 #5F6D10 #8EA218 #BCD820

Accessibility & contrast

On white

5.70
#5F6D10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5F6D10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6D10
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6D10#FFFFFF#000000##FFFFFF
##5F6D101.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#73671A
Tritanopia (blue-blind)
#65665C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f6d10;
/* rgb */ color: rgb(95, 109, 16);
/* oklch */ color: oklch(50.6% 0.112 118.5);
Tailwind
colors: {
  custom: {
    50: '#909659',
    500: '#5f6d10',
    950: '#000000',
  },
}
SCSS
$custom: #5f6d10;
$custom-light: #909659;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6d10",
  "rgb": {
    "r": 95,
    "g": 109,
    "b": 16
  },
  "hsl": {
    "h": 69.032,
    "s": 74.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.5058,
    "c": 0.11183,
    "h": 118.5
  },
  "luminance": 0.13408
}

Semantic roles & 50–950 ramp

primary
#5F6D10
secondary
#4534A5
accent
#37F153
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6D10

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

Preview Lab → · Contrast checker → · Palette generator →

#5F6D10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva