#5F681F#5F681F

#5F681F is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 49.4% C 0.096 H 116.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5F681F
RGBrgb(95, 104, 31)
HSLhsl(67, 54%, 26%)
HSVhsv(67, 70%, 41%)
CMYKcmyk(8.7%, 0%, 70.2%, 59.2%)
CIE-LABlab(41.90, -14.16, 38.27)
CIE-LCHlch(41.90, 40.81, 110.30°)
OKLaboklab(49.42% -0.0422 0.0863)
OKLCHoklch(49.42% 0.096 116.1)
XYZxyz(9.9172, 12.4326, 3.1734)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F681F #281F68
analogous
#684D1F #5F681F #3B681F
triadic
#5F681F #1F5F68 #681F5F
tetradic
#5F681F #1F684D #281F68 #681F3B
square
#5F681F #1F684D #281F68 #681F3B
split-complementary
#5F681F #1F3B68 #4D1F68
monochromatic
#161807 #343911 #5F681F #8A972D #B4C53C

Accessibility & contrast

On white

6.02
#5F681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5F681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F681F
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F681F#FFFFFF#000000##FFFFFF
##5F681F1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6215
Deuteranopia (green-blind)
#6F6324
Tritanopia (blue-blind)
#656259
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5f681f;
/* rgb */ color: rgb(95, 104, 31);
/* oklch */ color: oklch(49.4% 0.096 116.1);
Tailwind
colors: {
  custom: {
    50: '#8f935f',
    500: '#5f681f',
    950: '#000000',
  },
}
SCSS
$custom: #5f681f;
$custom-light: #8f935f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f681f",
  "rgb": {
    "r": 95,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 67.397,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49423,
    "c": 0.09611,
    "h": 116.1
  },
  "luminance": 0.12432
}

Semantic roles & 50–950 ramp

primary
#5F681F
secondary
#51469C
accent
#4ADD5C
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0D0D05
muted
#7D7E79

Preview Lab

Preview with #5F681F

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

Preview Lab → · Contrast checker → · Palette generator →

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