#5B680F#5B680F

#5B680F is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.0% C 0.108 H 118.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5B680F
RGBrgb(91, 104, 15)
HSLhsl(69, 75%, 23%)
HSVhsv(69, 86%, 41%)
CMYKcmyk(12.5%, 0%, 85.6%, 59.2%)
CIE-LABlab(41.47, -16.89, 43.75)
CIE-LCHlch(41.47, 46.89, 111.11°)
OKLaboklab(48.97% -0.051 0.0951)
OKLCHoklch(48.97% 0.108 118.2)
XYZxyz(9.3512, 12.1594, 2.3062)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B680F #1C0F68
analogous
#68480F #5B680F #2E680F
triadic
#5B680F #0F5B68 #680F5B
tetradic
#5B680F #0F6848 #1C0F68 #680F2E
square
#5B680F #0F6848 #1C0F68 #680F2E
split-complementary
#5B680F #0F2E68 #480F68
monochromatic
#171B04 #2C3307 #5B680F #8A9D17 #B9D31E

Accessibility & contrast

On white

6.12
#5B680F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5B680F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B680F
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B680F#FFFFFF#000000##FFFFFF
##5B680F1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b680f;
/* rgb */ color: rgb(91, 104, 15);
/* oklch */ color: oklch(49.0% 0.108 118.2);
Tailwind
colors: {
  custom: {
    50: '#8c9357',
    500: '#5b680f',
    950: '#000000',
  },
}
SCSS
$custom: #5b680f;
$custom-light: #8c9357;
$custom-dark: #000000;
JSON
{
  "hex": "#5b680f",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 15
  },
  "hsl": {
    "h": 68.764,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.48966,
    "c": 0.1079,
    "h": 118.2
  },
  "luminance": 0.12159
}

Semantic roles & 50–950 ramp

primary
#5B680F
secondary
#4232A1
accent
#36F152
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B680F

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

Preview Lab → · Contrast checker → · Palette generator →

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