#5D5E0F#5D5E0F

#5D5E0F is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.6% C 0.095 H 110.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5D5E0F
RGBrgb(93, 94, 15)
HSLhsl(61, 72%, 21%)
HSVhsv(61, 84%, 37%)
CMYKcmyk(1.1%, 0%, 84%, 63.1%)
CIE-LABlab(38.49, -10.39, 41.19)
CIE-LCHlch(38.49, 42.48, 104.16°)
OKLaboklab(46.62% -0.0332 0.0895)
OKLCHoklch(46.62% 0.095 110.4)
XYZxyz(8.6034, 10.3673, 1.9997)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5E0F #100F5E
analogous
#5E380F #5D5E0F #365E0F
triadic
#5D5E0F #0F5D5E #5E0F5D
tetradic
#5D5E0F #0F5E38 #100F5E #5E0F36
square
#5D5E0F #0F5E38 #100F5E #5E0F36
split-complementary
#5D5E0F #0F365E #380F5E
monochromatic
#1A1A04 #292907 #5D5E0F #919317 #C5C820

Accessibility & contrast

On white

6.83
#5D5E0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5D5E0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5E0F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5E0F#FFFFFF#000000##FFFFFF
##5D5E0F1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#675C16
Tritanopia (blue-blind)
#645750
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d5e0f;
/* rgb */ color: rgb(93, 94, 15);
/* oklch */ color: oklch(46.6% 0.095 110.4);
Tailwind
colors: {
  custom: {
    50: '#8e8b56',
    500: '#5d5e0f',
    950: '#000000',
  },
}
SCSS
$custom: #5d5e0f;
$custom-light: #8e8b56;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5e0f",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 15
  },
  "hsl": {
    "h": 60.759,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.46622,
    "c": 0.09547,
    "h": 110.4
  },
  "luminance": 0.10367
}

Semantic roles & 50–950 ramp

primary
#5D5E0F
secondary
#333197
accent
#39EF3B
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5D5E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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