#5A650F#5A650F

#5A650F is a mid, moderate yellow. Relative luminance 0.115; OKLCH L 48.1% C 0.105 H 117.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5A650F
RGBrgb(90, 101, 15)
HSLhsl(68, 74%, 23%)
HSVhsv(68, 85%, 40%)
CMYKcmyk(10.9%, 0%, 85.1%, 60.4%)
CIE-LABlab(40.44, -15.73, 42.81)
CIE-LCHlch(40.44, 45.60, 110.17°)
OKLaboklab(48.12% -0.0478 0.0931)
OKLCHoklch(48.12% 0.105 117.2)
XYZxyz(8.9566, 11.5156, 2.2028)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A650F #1A0F65
analogous
#65450F #5A650F #2F650F
triadic
#5A650F #0F5A65 #650F5A
tetradic
#5A650F #0F6545 #1A0F65 #650F2F
square
#5A650F #0F6545 #1A0F65 #650F2F
split-complementary
#5A650F #0F2F65 #450F65
monochromatic
#181B04 #2B3007 #5A650F #899A17 #B9D01F

Accessibility & contrast

On white

6.36
#5A650F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5A650F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A650F
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A650F#FFFFFF#000000##FFFFFF
##5A650F1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#6B6018
Tritanopia (blue-blind)
#605F55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5a650f;
/* rgb */ color: rgb(90, 101, 15);
/* oklch */ color: oklch(48.1% 0.105 117.2);
Tailwind
colors: {
  custom: {
    50: '#8c9057',
    500: '#5a650f',
    950: '#000000',
  },
}
SCSS
$custom: #5a650f;
$custom-light: #8c9057;
$custom-dark: #000000;
JSON
{
  "hex": "#5a650f",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 15
  },
  "hsl": {
    "h": 67.674,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.48115,
    "c": 0.10465,
    "h": 117.2
  },
  "luminance": 0.11516
}

Semantic roles & 50–950 ramp

primary
#5A650F
secondary
#40329E
accent
#37F14F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5A650F

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

Preview Lab → · Contrast checker → · Palette generator →

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