#5A630E#5A630E

#5A630E is a mid, moderate yellow. Relative luminance 0.111; OKLCH L 47.6% C 0.103 H 116.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5A630E
RGBrgb(90, 99, 14)
HSLhsl(66, 75%, 22%)
HSVhsv(66, 86%, 39%)
CMYKcmyk(9.1%, 0%, 85.9%, 61.2%)
CIE-LABlab(39.80, -14.67, 42.55)
CIE-LCHlch(39.80, 45.01, 109.03°)
OKLaboklab(47.6% -0.045 0.0924)
OKLCHoklch(47.6% 0.103 116)
XYZxyz(8.7578, 11.1292, 2.1022)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A630E #170E63
analogous
#63420E #5A630E #30630E
triadic
#5A630E #0E5A63 #630E5A
tetradic
#5A630E #0E6342 #170E63 #630E30
square
#5A630E #0E6342 #170E63 #630E30
split-complementary
#5A630E #0E3063 #420E63
monochromatic
#181B04 #292D06 #5A630E #8B9916 #BBCE1D

Accessibility & contrast

On white

6.51
#5A630E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5A630E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A630E
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A630E#FFFFFF#000000##FFFFFF
##5A630E1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#6A5E17
Tritanopia (blue-blind)
#605D54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5a630e;
/* rgb */ color: rgb(90, 99, 14);
/* oklch */ color: oklch(47.6% 0.103 116.0);
Tailwind
colors: {
  custom: {
    50: '#8c8f56',
    500: '#5a630e',
    950: '#000000',
  },
}
SCSS
$custom: #5a630e;
$custom-light: #8c8f56;
$custom-dark: #000000;
JSON
{
  "hex": "#5a630e",
  "rgb": {
    "r": 90,
    "g": 99,
    "b": 14
  },
  "hsl": {
    "h": 66.353,
    "s": 75.221,
    "l": 22.157
  },
  "oklch": {
    "l": 0.476,
    "c": 0.10272,
    "h": 116
  },
  "luminance": 0.11129
}

Semantic roles & 50–950 ramp

primary
#5A630E
secondary
#3C309C
accent
#36F24A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5A630E

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

Preview Lab → · Contrast checker → · Palette generator →

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