#5E6313#5E6313

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

Color values

HEX#5E6313
RGBrgb(94, 99, 19)
HSLhsl(64, 68%, 23%)
HSVhsv(64, 81%, 39%)
CMYKcmyk(5.1%, 0%, 80.8%, 61.2%)
CIE-LABlab(40.16, -12.55, 41.37)
CIE-LCHlch(40.16, 43.23, 106.88°)
OKLaboklab(47.99% -0.0389 0.0907)
OKLCHoklch(47.99% 0.099 113.2)
XYZxyz(9.1958, 11.3506, 2.3224)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6313 #181363
analogous
#634013 #5E6313 #366313
triadic
#5E6313 #135E63 #63135E
tetradic
#5E6313 #136340 #181363 #631336
square
#5E6313 #136340 #181363 #631336
split-complementary
#5E6313 #133663 #401363
monochromatic
#181A05 #2D3009 #5E6313 #8F961D #C0CA27

Accessibility & contrast

On white

6.42
#5E6313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E6313
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6313#FFFFFF#000000##FFFFFF
##5E63131.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E01
Deuteranopia (green-blind)
#6B5F1A
Tritanopia (blue-blind)
#655D54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e6313;
/* rgb */ color: rgb(94, 99, 19);
/* oklch */ color: oklch(48.0% 0.099 113.2);
Tailwind
colors: {
  custom: {
    50: '#8e8f58',
    500: '#5e6313',
    950: '#000000',
  },
}
SCSS
$custom: #5e6313;
$custom-light: #8e8f58;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6313",
  "rgb": {
    "r": 94,
    "g": 99,
    "b": 19
  },
  "hsl": {
    "h": 63.75,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.47988,
    "c": 0.09866,
    "h": 113.2
  },
  "luminance": 0.1135
}

Semantic roles & 50–950 ramp

primary
#5E6313
secondary
#3D379B
accent
#3DEB48
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E6313

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

Preview Lab → · Contrast checker → · Palette generator →

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