#5F630E#5F630E

#5F630E is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.1% C 0.101 H 112.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5F630E
RGBrgb(95, 99, 14)
HSLhsl(63, 75%, 22%)
HSVhsv(63, 86%, 39%)
CMYKcmyk(4%, 0%, 85.9%, 61.2%)
CIE-LABlab(40.23, -12.28, 43.09)
CIE-LCHlch(40.23, 44.81, 105.91°)
OKLaboklab(48.05% -0.0386 0.0933)
OKLCHoklch(48.05% 0.101 112.5)
XYZxyz(9.2607, 11.3885, 2.1257)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F630E #120E63
analogous
#633D0E #5F630E #34630E
triadic
#5F630E #0E5F63 #630E5F
tetradic
#5F630E #0E633D #120E63 #630E34
square
#5F630E #0E633D #120E63 #630E34
split-complementary
#5F630E #0E3463 #3D0E63
monochromatic
#1A1B04 #2C2D06 #5F630E #929916 #C6CE1D

Accessibility & contrast

On white

6.41
#5F630E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5F630E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F630E
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F630E#FFFFFF#000000##FFFFFF
##5F630E1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#6B6016
Tritanopia (blue-blind)
#665C54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5f630e;
/* rgb */ color: rgb(95, 99, 14);
/* oklch */ color: oklch(48.1% 0.101 112.5);
Tailwind
colors: {
  custom: {
    50: '#8f8f56',
    500: '#5f630e',
    950: '#000000',
  },
}
SCSS
$custom: #5f630e;
$custom-light: #8f8f56;
$custom-dark: #000000;
JSON
{
  "hex": "#5f630e",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 14
  },
  "hsl": {
    "h": 62.824,
    "s": 75.221,
    "l": 22.157
  },
  "oklch": {
    "l": 0.48052,
    "c": 0.10099,
    "h": 112.5
  },
  "luminance": 0.11388
}

Semantic roles & 50–950 ramp

primary
#5F630E
secondary
#36309C
accent
#36F23F
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5F630E

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

Preview Lab → · Contrast checker → · Palette generator →

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