#5A670E#5A670E

#5A670E is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 48.6% C 0.108 H 118.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5A670E
RGBrgb(90, 103, 14)
HSLhsl(69, 76%, 23%)
HSVhsv(69, 86%, 40%)
CMYKcmyk(12.6%, 0%, 86.4%, 59.6%)
CIE-LABlab(41.07, -16.85, 43.66)
CIE-LCHlch(41.07, 46.80, 111.11°)
OKLaboklab(48.62% -0.0509 0.0947)
OKLCHoklch(48.62% 0.108 118.3)
XYZxyz(9.1462, 11.9059, 2.2316)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A670E #1B0E67
analogous
#67470E #5A670E #2D670E
triadic
#5A670E #0E5A67 #670E5A
tetradic
#5A670E #0E6747 #1B0E67 #670E2D
square
#5A670E #0E6747 #1B0E67 #670E2D
split-complementary
#5A670E #0E2D67 #470E67
monochromatic
#181B04 #2B3107 #5A670E #899D15 #B8D31D

Accessibility & contrast

On white

6.21
#5A670E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5A670E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A670E
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A670E#FFFFFF#000000##FFFFFF
##5A670E1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6100
Deuteranopia (green-blind)
#6D6118
Tritanopia (blue-blind)
#606157
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a670e;
/* rgb */ color: rgb(90, 103, 14);
/* oklch */ color: oklch(48.6% 0.108 118.3);
Tailwind
colors: {
  custom: {
    50: '#8c9257',
    500: '#5a670e',
    950: '#000000',
  },
}
SCSS
$custom: #5a670e;
$custom-light: #8c9257;
$custom-dark: #000000;
JSON
{
  "hex": "#5a670e",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 14
  },
  "hsl": {
    "h": 68.764,
    "s": 76.068,
    "l": 22.941
  },
  "oklch": {
    "l": 0.48621,
    "c": 0.10757,
    "h": 118.3
  },
  "luminance": 0.11906
}

Semantic roles & 50–950 ramp

primary
#5A670E
secondary
#4131A0
accent
#35F351
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D03
muted
#7D7D78

Preview Lab

Preview with #5A670E

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

Preview Lab → · Contrast checker → · Palette generator →

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