#5E680F#5E680F

#5E680F is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.2% C 0.107 H 116.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5E680F
RGBrgb(94, 104, 15)
HSLhsl(67, 75%, 23%)
HSVhsv(67, 86%, 41%)
CMYKcmyk(9.6%, 0%, 85.6%, 59.2%)
CIE-LABlab(41.71, -15.48, 44.05)
CIE-LCHlch(41.71, 46.70, 109.36°)
OKLaboklab(49.22% -0.0473 0.0956)
OKLCHoklch(49.22% 0.107 116.3)
XYZxyz(9.6529, 12.3149, 2.3204)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E680F #190F68
analogous
#68450F #5E680F #31680F
triadic
#5E680F #0F5E68 #680F5E
tetradic
#5E680F #0F6845 #190F68 #680F31
square
#5E680F #0F6845 #190F68 #680F31
split-complementary
#5E680F #0F3168 #450F68
monochromatic
#181B04 #2E3307 #5E680F #8E9D17 #BFD31E

Accessibility & contrast

On white

6.06
#5E680F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5E680F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E680F
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E680F#FFFFFF#000000##FFFFFF
##5E680F1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e680f;
/* rgb */ color: rgb(94, 104, 15);
/* oklch */ color: oklch(49.2% 0.107 116.3);
Tailwind
colors: {
  custom: {
    50: '#8f9357',
    500: '#5e680f',
    950: '#000000',
  },
}
SCSS
$custom: #5e680f;
$custom-light: #8f9357;
$custom-dark: #000000;
JSON
{
  "hex": "#5e680f",
  "rgb": {
    "r": 94,
    "g": 104,
    "b": 15
  },
  "hsl": {
    "h": 66.742,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.49223,
    "c": 0.10668,
    "h": 116.3
  },
  "luminance": 0.12315
}

Semantic roles & 50–950 ramp

primary
#5E680F
secondary
#3F32A1
accent
#36F14B
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E680F

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

Preview Lab → · Contrast checker → · Palette generator →

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