#5E6318#5E6318

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

Color values

HEX#5E6318
RGBrgb(94, 99, 24)
HSLhsl(64, 61%, 24%)
HSVhsv(64, 76%, 39%)
CMYKcmyk(5.1%, 0%, 75.8%, 61.2%)
CIE-LABlab(40.20, -12.29, 39.51)
CIE-LCHlch(40.20, 41.38, 107.28°)
OKLaboklab(48.02% -0.0377 0.0877)
OKLCHoklch(48.02% 0.095 113.3)
XYZxyz(9.2431, 11.3695, 2.5716)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6318 #1D1863
analogous
#634318 #5E6318 #396318
triadic
#5E6318 #185E63 #63185E
tetradic
#5E6318 #186343 #1D1863 #631839
square
#5E6318 #186343 #1D1863 #631839
split-complementary
#5E6318 #183963 #431863
monochromatic
#171906 #2F320C #5E6318 #8D9424 #BCC630

Accessibility & contrast

On white

6.41
#5E6318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E6318
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6318#FFFFFF#000000##FFFFFF
##5E63181.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e6318;
/* rgb */ color: rgb(94, 99, 24);
/* oklch */ color: oklch(48.0% 0.095 113.3);
Tailwind
colors: {
  custom: {
    50: '#8e8f5b',
    500: '#5e6318',
    950: '#000000',
  },
}
SCSS
$custom: #5e6318;
$custom-light: #8e8f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6318",
  "rgb": {
    "r": 94,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 64,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48023,
    "c": 0.09547,
    "h": 113.3
  },
  "luminance": 0.11369
}

Semantic roles & 50–950 ramp

primary
#5E6318
secondary
#443E99
accent
#44E44E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5E6318

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

Preview Lab → · Contrast checker → · Palette generator →

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