#5A680F#5A680F

#5A680F is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 48.9% C 0.108 H 118.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5A680F
RGBrgb(90, 104, 15)
HSLhsl(69, 75%, 23%)
HSVhsv(69, 86%, 41%)
CMYKcmyk(13.5%, 0%, 85.6%, 59.2%)
CIE-LABlab(41.39, -17.35, 43.65)
CIE-LCHlch(41.39, 46.97, 111.68°)
OKLaboklab(48.88% -0.0522 0.0949)
OKLCHoklch(48.88% 0.108 118.8)
XYZxyz(9.2532, 12.1088, 2.3016)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A680F #1D0F68
analogous
#68490F #5A680F #2D680F
triadic
#5A680F #0F5A68 #680F5A
tetradic
#5A680F #0F6849 #1D0F68 #680F2D
square
#5A680F #0F6849 #1D0F68 #680F2D
split-complementary
#5A680F #0F2D68 #490F68
monochromatic
#171B04 #2C3307 #5A680F #889D17 #B7D31E

Accessibility & contrast

On white

6.14
#5A680F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5A680F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A680F
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A680F#FFFFFF#000000##FFFFFF
##5A680F1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a680f;
/* rgb */ color: rgb(90, 104, 15);
/* oklch */ color: oklch(48.9% 0.108 118.8);
Tailwind
colors: {
  custom: {
    50: '#8c9357',
    500: '#5a680f',
    950: '#000000',
  },
}
SCSS
$custom: #5a680f;
$custom-light: #8c9357;
$custom-dark: #000000;
JSON
{
  "hex": "#5a680f",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 15
  },
  "hsl": {
    "h": 69.438,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.48882,
    "c": 0.10833,
    "h": 118.8
  },
  "luminance": 0.12109
}

Semantic roles & 50–950 ramp

primary
#5A680F
secondary
#4432A1
accent
#36F154
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5A680F

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

Preview Lab → · Contrast checker → · Palette generator →

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