#5E6310#5E6310

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

Color values

HEX#5E6310
RGBrgb(94, 99, 16)
HSLhsl(64, 72%, 23%)
HSVhsv(64, 84%, 39%)
CMYKcmyk(5.1%, 0%, 83.8%, 61.2%)
CIE-LABlab(40.15, -12.68, 42.37)
CIE-LCHlch(40.15, 44.23, 106.67°)
OKLaboklab(47.97% -0.0395 0.0922)
OKLCHoklch(47.97% 0.1 113.2)
XYZxyz(9.1718, 11.3410, 2.1960)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6310 #151063
analogous
#633E10 #5E6310 #356310
triadic
#5E6310 #105E63 #63105E
tetradic
#5E6310 #10633E #151063 #631035
square
#5E6310 #10633E #151063 #631035
split-complementary
#5E6310 #103563 #3E1063
monochromatic
#191A04 #2C2E07 #5E6310 #909819 #C2CC21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E6310#FFFFFF#000000##FFFFFF
##5E63101.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)
#6B5F18
Tritanopia (blue-blind)
#655C54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e6310;
/* rgb */ color: rgb(94, 99, 16);
/* oklch */ color: oklch(48.0% 0.100 113.2);
Tailwind
colors: {
  custom: {
    50: '#8f8f57',
    500: '#5e6310',
    950: '#000000',
  },
}
SCSS
$custom: #5e6310;
$custom-light: #8f8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6310",
  "rgb": {
    "r": 94,
    "g": 99,
    "b": 16
  },
  "hsl": {
    "h": 63.614,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4797,
    "c": 0.10031,
    "h": 113.2
  },
  "luminance": 0.11341
}

Semantic roles & 50–950 ramp

primary
#5E6310
secondary
#39339C
accent
#39EF44
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5E6310

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

Preview Lab → · Contrast checker → · Palette generator →

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