#5E5E12#5E5E12

#5E5E12 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.7% C 0.094 H 109.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5E5E12
RGBrgb(94, 94, 18)
HSLhsl(60, 68%, 22%)
HSVhsv(60, 81%, 37%)
CMYKcmyk(0%, 0%, 80.9%, 63.1%)
CIE-LABlab(38.60, -9.77, 40.29)
CIE-LCHlch(38.60, 41.46, 103.63°)
OKLaboklab(46.74% -0.0313 0.0882)
OKLCHoklch(46.74% 0.094 109.5)
XYZxyz(8.7283, 10.4290, 2.1254)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5E12 #12125E
analogous
#5E3812 #5E5E12 #385E12
triadic
#5E5E12 #125E5E #5E125E
tetradic
#5E5E12 #125E38 #12125E #5E1238
square
#5E5E12 #125E38 #12125E #5E1238
split-complementary
#5E5E12 #12385E #38125E
monochromatic
#1A1A05 #2B2B08 #5E5E12 #91911C #C5C526

Accessibility & contrast

On white

6.81
#5E5E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5E5E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5E12
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5E12#FFFFFF#000000##FFFFFF
##5E5E121.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A02
Deuteranopia (green-blind)
#675C18
Tritanopia (blue-blind)
#655750
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e5e12;
/* rgb */ color: rgb(94, 94, 18);
/* oklch */ color: oklch(46.7% 0.094 109.5);
Tailwind
colors: {
  custom: {
    50: '#8e8b57',
    500: '#5e5e12',
    950: '#000000',
  },
}
SCSS
$custom: #5e5e12;
$custom-light: #8e8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5e12",
  "rgb": {
    "r": 94,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 60,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.46735,
    "c": 0.09354,
    "h": 109.5
  },
  "luminance": 0.10429
}

Semantic roles & 50–950 ramp

primary
#5E5E12
secondary
#353596
accent
#3DEB3D
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5E5E12

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

Preview Lab → · Contrast checker → · Palette generator →

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