#5E6510#5E6510

#5E6510 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.5% C 0.103 H 114.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5E6510
RGBrgb(94, 101, 16)
HSLhsl(65, 73%, 23%)
HSVhsv(65, 84%, 40%)
CMYKcmyk(6.9%, 0%, 84.2%, 60.4%)
CIE-LABlab(40.77, -13.79, 42.92)
CIE-LCHlch(40.77, 45.09, 107.82°)
OKLaboklab(48.47% -0.0426 0.0934)
OKLCHoklch(48.47% 0.103 114.5)
XYZxyz(9.3636, 11.7246, 2.2599)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6510 #171065
analogous
#654110 #5E6510 #336510
triadic
#5E6510 #105E65 #65105E
tetradic
#5E6510 #106541 #171065 #651033
square
#5E6510 #106541 #171065 #651033
split-complementary
#5E6510 #103365 #411065
monochromatic
#191A04 #2D3008 #5E6510 #8F9A18 #C0CF21

Accessibility & contrast

On white

6.28
#5E6510 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5E6510 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6510
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6510#FFFFFF#000000##FFFFFF
##5E65101.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#6D6118
Tritanopia (blue-blind)
#655E56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e6510;
/* rgb */ color: rgb(94, 101, 16);
/* oklch */ color: oklch(48.5% 0.103 114.5);
Tailwind
colors: {
  custom: {
    50: '#8f9057',
    500: '#5e6510',
    950: '#000000',
  },
}
SCSS
$custom: #5e6510;
$custom-light: #8f9057;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6510",
  "rgb": {
    "r": 94,
    "g": 101,
    "b": 16
  },
  "hsl": {
    "h": 64.941,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.48472,
    "c": 0.10264,
    "h": 114.5
  },
  "luminance": 0.11724
}

Semantic roles & 50–950 ramp

primary
#5E6510
secondary
#3C339D
accent
#38EF48
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5E6510

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

Preview Lab → · Contrast checker → · Palette generator →

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