#5F680F#5F680F

#5F680F is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 49.3% C 0.106 H 115.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5F680F
RGBrgb(95, 104, 15)
HSLhsl(66, 75%, 23%)
HSVhsv(66, 86%, 41%)
CMYKcmyk(8.7%, 0%, 85.6%, 59.2%)
CIE-LABlab(41.80, -15.01, 44.16)
CIE-LCHlch(41.80, 46.64, 108.77°)
OKLaboklab(49.31% -0.0461 0.0958)
OKLCHoklch(49.31% 0.106 115.7)
XYZxyz(9.7561, 12.3682, 2.3252)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F680F #180F68
analogous
#68440F #5F680F #32680F
triadic
#5F680F #0F5F68 #680F5F
tetradic
#5F680F #0F6844 #180F68 #680F32
square
#5F680F #0F6844 #180F68 #680F32
split-complementary
#5F680F #0F3268 #440F68
monochromatic
#181B04 #2E3307 #5F680F #909D17 #C1D31E

Accessibility & contrast

On white

6.05
#5F680F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5F680F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F680F
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F680F#FFFFFF#000000##FFFFFF
##5F680F1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6F6318
Tritanopia (blue-blind)
#666158
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5f680f;
/* rgb */ color: rgb(95, 104, 15);
/* oklch */ color: oklch(49.3% 0.106 115.7);
Tailwind
colors: {
  custom: {
    50: '#8f9357',
    500: '#5f680f',
    950: '#000000',
  },
}
SCSS
$custom: #5f680f;
$custom-light: #8f9357;
$custom-dark: #000000;
JSON
{
  "hex": "#5f680f",
  "rgb": {
    "r": 95,
    "g": 104,
    "b": 15
  },
  "hsl": {
    "h": 66.067,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.49311,
    "c": 0.10631,
    "h": 115.7
  },
  "luminance": 0.12368
}

Semantic roles & 50–950 ramp

primary
#5F680F
secondary
#3D32A1
accent
#36F149
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F680F

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

Preview Lab → · Contrast checker → · Palette generator →

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