#5E6315#5E6315

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

Color values

HEX#5E6315
RGBrgb(94, 99, 21)
HSLhsl(64, 65%, 24%)
HSVhsv(64, 79%, 39%)
CMYKcmyk(5.1%, 0%, 78.8%, 61.2%)
CIE-LABlab(40.18, -12.45, 40.65)
CIE-LCHlch(40.18, 42.52, 107.03°)
OKLaboklab(48% -0.0384 0.0895)
OKLCHoklch(48% 0.097 113.2)
XYZxyz(9.2136, 11.3577, 2.4162)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6315 #1A1563
analogous
#634115 #5E6315 #376315
triadic
#5E6315 #155E63 #63155E
tetradic
#5E6315 #156341 #1A1563 #631537
square
#5E6315 #156341 #1A1563 #631537
split-complementary
#5E6315 #153763 #411563
monochromatic
#181905 #2E310A #5E6315 #8E9520 #BEC82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E6315#FFFFFF#000000##FFFFFF
##5E63151.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)
#6B5E05
Deuteranopia (green-blind)
#6B5F1C
Tritanopia (blue-blind)
#655D54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e6315;
/* rgb */ color: rgb(94, 99, 21);
/* oklch */ color: oklch(48.0% 0.097 113.2);
Tailwind
colors: {
  custom: {
    50: '#8e8f59',
    500: '#5e6315',
    950: '#000000',
  },
}
SCSS
$custom: #5e6315;
$custom-light: #8e8f59;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6315",
  "rgb": {
    "r": 94,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 63.846,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.48001,
    "c": 0.09745,
    "h": 113.2
  },
  "luminance": 0.11358
}

Semantic roles & 50–950 ramp

primary
#5E6315
secondary
#403A9A
accent
#40E84B
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E6315

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

Preview Lab → · Contrast checker → · Palette generator →

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