#5E681B#5E681B

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

Color values

HEX#5E681B
RGBrgb(94, 104, 27)
HSLhsl(68, 59%, 26%)
HSVhsv(68, 74%, 41%)
CMYKcmyk(9.6%, 0%, 74%, 59.2%)
CIE-LABlab(41.78, -14.89, 39.84)
CIE-LCHlch(41.78, 42.53, 110.49°)
OKLaboklab(49.3% -0.0446 0.089)
OKLCHoklch(49.3% 0.1 116.6)
XYZxyz(9.7645, 12.3596, 2.9079)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E681B #251B68
analogous
#684B1B #5E681B #37681B
triadic
#5E681B #1B5E68 #681B5E
tetradic
#5E681B #1B684B #251B68 #681B37
square
#5E681B #1B684B #251B68 #681B37
split-complementary
#5E681B #1B3768 #4B1B68
monochromatic
#161806 #32370E #5E681B #8A9928 #B6C934

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E681B#FFFFFF#000000##FFFFFF
##5E681B1.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)
#70620E
Deuteranopia (green-blind)
#6F6321
Tritanopia (blue-blind)
#646259
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e681b;
/* rgb */ color: rgb(94, 104, 27);
/* oklch */ color: oklch(49.3% 0.100 116.6);
Tailwind
colors: {
  custom: {
    50: '#8e935d',
    500: '#5e681b',
    950: '#000000',
  },
}
SCSS
$custom: #5e681b;
$custom-light: #8e935d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e681b",
  "rgb": {
    "r": 94,
    "g": 104,
    "b": 27
  },
  "hsl": {
    "h": 67.792,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49302,
    "c": 0.09952,
    "h": 116.6
  },
  "luminance": 0.12359
}

Semantic roles & 50–950 ramp

primary
#5E681B
secondary
#4D429D
accent
#46E25A
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5E681B

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

Preview Lab → · Contrast checker → · Palette generator →

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