#5B630E#5B630E

#5B630E is a mid, moderate yellow. Relative luminance 0.112; OKLCH L 47.7% C 0.102 H 115.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5B630E
RGBrgb(91, 99, 14)
HSLhsl(66, 75%, 22%)
HSVhsv(66, 86%, 39%)
CMYKcmyk(8.1%, 0%, 85.9%, 61.2%)
CIE-LABlab(39.88, -14.20, 42.65)
CIE-LCHlch(39.88, 44.95, 108.41°)
OKLaboklab(47.69% -0.0437 0.0925)
OKLCHoklch(47.69% 0.102 115.3)
XYZxyz(8.8558, 11.1797, 2.1068)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B630E #160E63
analogous
#63410E #5B630E #31630E
triadic
#5B630E #0E5B63 #630E5B
tetradic
#5B630E #0E6341 #160E63 #630E31
square
#5B630E #0E6341 #160E63 #630E31
split-complementary
#5B630E #0E3163 #410E63
monochromatic
#191B04 #2A2D06 #5B630E #8C9916 #BECE1D

Accessibility & contrast

On white

6.49
#5B630E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5B630E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B630E
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B630E#FFFFFF#000000##FFFFFF
##5B630E1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b630e;
/* rgb */ color: rgb(91, 99, 14);
/* oklch */ color: oklch(47.7% 0.102 115.3);
Tailwind
colors: {
  custom: {
    50: '#8c8f56',
    500: '#5b630e',
    950: '#000000',
  },
}
SCSS
$custom: #5b630e;
$custom-light: #8c8f56;
$custom-dark: #000000;
JSON
{
  "hex": "#5b630e",
  "rgb": {
    "r": 91,
    "g": 99,
    "b": 14
  },
  "hsl": {
    "h": 65.647,
    "s": 75.221,
    "l": 22.157
  },
  "oklch": {
    "l": 0.47689,
    "c": 0.10234,
    "h": 115.3
  },
  "luminance": 0.1118
}

Semantic roles & 50–950 ramp

primary
#5B630E
secondary
#3B309C
accent
#36F248
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5B630E

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

Preview Lab → · Contrast checker → · Palette generator →

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