#5F630F#5F630F

#5F630F 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#5F630F
RGBrgb(95, 99, 15)
HSLhsl(63, 74%, 22%)
HSVhsv(63, 85%, 39%)
CMYKcmyk(4%, 0%, 84.8%, 61.2%)
CIE-LABlab(40.23, -12.24, 42.79)
CIE-LCHlch(40.23, 44.51, 105.97°)
OKLaboklab(48.06% -0.0385 0.0929)
OKLCHoklch(48.06% 0.101 112.5)
XYZxyz(9.2677, 11.3913, 2.1624)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F630F #130F63
analogous
#633D0F #5F630F #35630F
triadic
#5F630F #0F5F63 #630F5F
tetradic
#5F630F #0F633D #130F63 #630F35
square
#5F630F #0F633D #130F63 #630F35
split-complementary
#5F630F #0F3563 #3D0F63
monochromatic
#1A1B04 #2C2E07 #5F630F #929817 #C5CD1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F630F#FFFFFF#000000##FFFFFF
##5F630F1.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)
#6B6017
Tritanopia (blue-blind)
#665C54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5f630f;
/* rgb */ color: rgb(95, 99, 15);
/* oklch */ color: oklch(48.1% 0.101 112.5);
Tailwind
colors: {
  custom: {
    50: '#8f8f57',
    500: '#5f630f',
    950: '#000000',
  },
}
SCSS
$custom: #5f630f;
$custom-light: #8f8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#5f630f",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 15
  },
  "hsl": {
    "h": 62.857,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.48057,
    "c": 0.1005,
    "h": 112.5
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

primary
#5F630F
secondary
#37329C
accent
#37F040
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5F630F

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

Preview Lab → · Contrast checker → · Palette generator →

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