#5F6914#5F6914

#5F6914 is a mid, moderate yellow. Relative luminance 0.126; OKLCH L 49.6% C 0.105 H 116.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5F6914
RGBrgb(95, 105, 20)
HSLhsl(67, 68%, 25%)
HSVhsv(67, 81%, 41%)
CMYKcmyk(9.5%, 0%, 81%, 58.8%)
CIE-LABlab(42.13, -15.34, 42.86)
CIE-LCHlch(42.13, 45.53, 109.70°)
OKLaboklab(49.59% -0.0466 0.094)
OKLCHoklch(49.59% 0.105 116.4)
XYZxyz(9.8974, 12.5867, 2.5698)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6914 #1E1469
analogous
#694914 #5F6914 #356914
triadic
#5F6914 #145F69 #69145F
tetradic
#5F6914 #146949 #1E1469 #691435
square
#5F6914 #146949 #1E1469 #691435
split-complementary
#5F6914 #143569 #491469
monochromatic
#171A05 #30360A #5F6914 #8E9C1E #BCD028

Accessibility & contrast

On white

5.97
#5F6914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5F6914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6914
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6914#FFFFFF#000000##FFFFFF
##5F69141.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#70641C
Tritanopia (blue-blind)
#666359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5f6914;
/* rgb */ color: rgb(95, 105, 20);
/* oklch */ color: oklch(49.6% 0.105 116.4);
Tailwind
colors: {
  custom: {
    50: '#8f935a',
    500: '#5f6914',
    950: '#000000',
  },
}
SCSS
$custom: #5f6914;
$custom-light: #8f935a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6914",
  "rgb": {
    "r": 95,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 67.059,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.49591,
    "c": 0.10491,
    "h": 116.4
  },
  "luminance": 0.12587
}

Semantic roles & 50–950 ramp

primary
#5F6914
secondary
#4539A0
accent
#3DEB51
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6914

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

Preview Lab → · Contrast checker → · Palette generator →

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