#5E630F#5E630F

#5E630F is a mid, moderate yellow. Relative luminance 0.113; OKLCH L 48.0% C 0.101 H 113.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5E630F
RGBrgb(94, 99, 15)
HSLhsl(64, 74%, 22%)
HSVhsv(64, 85%, 39%)
CMYKcmyk(5.1%, 0%, 84.8%, 61.2%)
CIE-LABlab(40.14, -12.72, 42.68)
CIE-LCHlch(40.14, 44.54, 106.60°)
OKLaboklab(47.97% -0.0397 0.0927)
OKLCHoklch(47.97% 0.101 113.2)
XYZxyz(9.1645, 11.3381, 2.1575)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E630F #140F63
analogous
#633E0F #5E630F #34630F
triadic
#5E630F #0F5E63 #630F5E
tetradic
#5E630F #0F633E #140F63 #630F34
square
#5E630F #0F633E #140F63 #630F34
split-complementary
#5E630F #0F3463 #3E0F63
monochromatic
#191B04 #2C2E07 #5E630F #909817 #C3CD1F

Accessibility & contrast

On white

6.43
#5E630F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5E630F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E630F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E630F#FFFFFF#000000##FFFFFF
##5E630F1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e630f;
/* rgb */ color: rgb(94, 99, 15);
/* oklch */ color: oklch(48.0% 0.101 113.2);
Tailwind
colors: {
  custom: {
    50: '#8f8f57',
    500: '#5e630f',
    950: '#000000',
  },
}
SCSS
$custom: #5e630f;
$custom-light: #8f8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#5e630f",
  "rgb": {
    "r": 94,
    "g": 99,
    "b": 15
  },
  "hsl": {
    "h": 63.571,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.47965,
    "c": 0.10082,
    "h": 113.2
  },
  "luminance": 0.11338
}

Semantic roles & 50–950 ramp

primary
#5E630F
secondary
#38329C
accent
#37F042
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5E630F

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

Preview Lab → · Contrast checker → · Palette generator →

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