#5B630F#5B630F

#5B630F 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#5B630F
RGBrgb(91, 99, 15)
HSLhsl(66, 74%, 22%)
HSVhsv(66, 85%, 39%)
CMYKcmyk(8.1%, 0%, 84.8%, 61.2%)
CIE-LABlab(39.89, -14.16, 42.35)
CIE-LCHlch(39.89, 44.66, 108.48°)
OKLaboklab(47.69% -0.0435 0.0921)
OKLCHoklch(47.69% 0.102 115.3)
XYZxyz(8.8627, 11.1825, 2.1434)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B630F #170F63
analogous
#63410F #5B630F #31630F
triadic
#5B630F #0F5B63 #630F5B
tetradic
#5B630F #0F6341 #170F63 #630F31
square
#5B630F #0F6341 #170F63 #630F31
split-complementary
#5B630F #0F3163 #410F63
monochromatic
#181B04 #2A2E07 #5B630F #8C9817 #BDCD1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B630F#FFFFFF#000000##FFFFFF
##5B630F1.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: #5b630f;
/* rgb */ color: rgb(91, 99, 15);
/* oklch */ color: oklch(47.7% 0.102 115.3);
Tailwind
colors: {
  custom: {
    50: '#8c8f57',
    500: '#5b630f',
    950: '#000000',
  },
}
SCSS
$custom: #5b630f;
$custom-light: #8c8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#5b630f",
  "rgb": {
    "r": 91,
    "g": 99,
    "b": 15
  },
  "hsl": {
    "h": 65.714,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.47694,
    "c": 0.10186,
    "h": 115.3
  },
  "luminance": 0.11182
}

Semantic roles & 50–950 ramp

primary
#5B630F
secondary
#3C329C
accent
#37F049
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5B630F

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

Preview Lab → · Contrast checker → · Palette generator →

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