#5E681F#5E681F

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

Color values

HEX#5E681F
RGBrgb(94, 104, 31)
HSLhsl(68, 54%, 26%)
HSVhsv(68, 70%, 41%)
CMYKcmyk(9.6%, 0%, 70.2%, 59.2%)
CIE-LABlab(41.81, -14.62, 38.16)
CIE-LCHlch(41.81, 40.87, 110.97°)
OKLaboklab(49.34% -0.0434 0.0861)
OKLCHoklch(49.34% 0.096 116.8)
XYZxyz(9.8139, 12.3794, 3.1685)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E681F #291F68
analogous
#684E1F #5E681F #3A681F
triadic
#5E681F #1F5E68 #681F5E
tetradic
#5E681F #1F684E #291F68 #681F3A
square
#5E681F #1F684E #291F68 #681F3A
split-complementary
#5E681F #1F3A68 #4E1F68
monochromatic
#151807 #333911 #5E681F #89972D #B2C53C

Accessibility & contrast

On white

6.04
#5E681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5E681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E681F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E681F#FFFFFF#000000##FFFFFF
##5E681F1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e681f;
/* rgb */ color: rgb(94, 104, 31);
/* oklch */ color: oklch(49.3% 0.096 116.8);
Tailwind
colors: {
  custom: {
    50: '#8e935f',
    500: '#5e681f',
    950: '#000000',
  },
}
SCSS
$custom: #5e681f;
$custom-light: #8e935f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e681f",
  "rgb": {
    "r": 94,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 68.219,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49336,
    "c": 0.09647,
    "h": 116.8
  },
  "luminance": 0.12379
}

Semantic roles & 50–950 ramp

primary
#5E681F
secondary
#52469C
accent
#4ADD5F
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #5E681F

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

Preview Lab → · Contrast checker → · Palette generator →

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