#5E5E0F#5E5E0F

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

Color values

HEX#5E5E0F
RGBrgb(94, 94, 15)
HSLhsl(60, 72%, 21%)
HSVhsv(60, 84%, 37%)
CMYKcmyk(0%, 0%, 84%, 63.1%)
CIE-LABlab(38.59, -9.90, 41.30)
CIE-LCHlch(38.59, 42.47, 103.48°)
OKLaboklab(46.72% -0.0319 0.0897)
OKLCHoklch(46.72% 0.095 109.6)
XYZxyz(8.7054, 10.4198, 2.0045)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5E0F #0F0F5E
analogous
#5E370F #5E5E0F #375E0F
triadic
#5E5E0F #0F5E5E #5E0F5E
tetradic
#5E5E0F #0F5E37 #0F0F5E #5E0F37
square
#5E5E0F #0F5E37 #0F0F5E #5E0F37
split-complementary
#5E5E0F #0F375E #370F5E
monochromatic
#1A1A04 #292907 #5E5E0F #939317 #C8C820

Accessibility & contrast

On white

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

On black

3.08
#5E5E0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5E5E0F#FFFFFF#000000##FFFFFF
##5E5E0F1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e5e0f;
/* rgb */ color: rgb(94, 94, 15);
/* oklch */ color: oklch(46.7% 0.095 109.6);
Tailwind
colors: {
  custom: {
    50: '#8f8b56',
    500: '#5e5e0f',
    950: '#000000',
  },
}
SCSS
$custom: #5e5e0f;
$custom-light: #8f8b56;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5e0f",
  "rgb": {
    "r": 94,
    "g": 94,
    "b": 15
  },
  "hsl": {
    "h": 60,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.46717,
    "c": 0.09522,
    "h": 109.6
  },
  "luminance": 0.1042
}

Semantic roles & 50–950 ramp

primary
#5E5E0F
secondary
#313197
accent
#39EF39
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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