#5E6512#5E6512

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

Color values

HEX#5E6512
RGBrgb(94, 101, 18)
HSLhsl(65, 70%, 23%)
HSVhsv(65, 82%, 40%)
CMYKcmyk(6.9%, 0%, 82.2%, 60.4%)
CIE-LABlab(40.79, -13.71, 42.28)
CIE-LCHlch(40.79, 44.45, 107.97°)
OKLaboklab(48.48% -0.0422 0.0924)
OKLCHoklch(48.48% 0.102 114.6)
XYZxyz(9.3792, 11.7309, 2.3424)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6512 #191265
analogous
#654212 #5E6512 #346512
triadic
#5E6512 #125E65 #65125E
tetradic
#5E6512 #126542 #191265 #651234
square
#5E6512 #126542 #191265 #651234
split-complementary
#5E6512 #123465 #421265
monochromatic
#181A05 #2E3109 #5E6512 #8E991B #BFCD25

Accessibility & contrast

On white

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

On black

3.35
#5E6512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5E6512#FFFFFF#000000##FFFFFF
##5E65121.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#6D611A
Tritanopia (blue-blind)
#655F56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e6512;
/* rgb */ color: rgb(94, 101, 18);
/* oklch */ color: oklch(48.5% 0.102 114.6);
Tailwind
colors: {
  custom: {
    50: '#8f9058',
    500: '#5e6512',
    950: '#000000',
  },
}
SCSS
$custom: #5e6512;
$custom-light: #8f9058;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6512",
  "rgb": {
    "r": 94,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 65.06,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.48484,
    "c": 0.10158,
    "h": 114.6
  },
  "luminance": 0.11731
}

Semantic roles & 50–950 ramp

primary
#5E6512
secondary
#3F369D
accent
#3BED4A
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E6512

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

Preview Lab → · Contrast checker → · Palette generator →

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