#5E670F#5E670F

#5E670F is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 49.0% C 0.105 H 115.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5E670F
RGBrgb(94, 103, 15)
HSLhsl(66, 75%, 23%)
HSVhsv(66, 85%, 40%)
CMYKcmyk(8.7%, 0%, 85.4%, 59.6%)
CIE-LABlab(41.40, -14.93, 43.78)
CIE-LCHlch(41.40, 46.26, 108.84°)
OKLaboklab(48.97% -0.0458 0.095)
OKLCHoklch(48.97% 0.105 115.7)
XYZxyz(9.5528, 12.1148, 2.2870)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E670F #180F67
analogous
#67440F #5E670F #32670F
triadic
#5E670F #0F5E67 #670F5E
tetradic
#5E670F #0F6744 #180F67 #670F32
square
#5E670F #0F6744 #180F67 #670F32
split-complementary
#5E670F #0F3267 #440F67
monochromatic
#181B04 #2D3207 #5E670F #8F9C17 #C0D21F

Accessibility & contrast

On white

6.13
#5E670F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5E670F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E670F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E670F#FFFFFF#000000##FFFFFF
##5E670F1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6E6218
Tritanopia (blue-blind)
#656057
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e670f;
/* rgb */ color: rgb(94, 103, 15);
/* oklch */ color: oklch(49.0% 0.105 115.7);
Tailwind
colors: {
  custom: {
    50: '#8f9257',
    500: '#5e670f',
    950: '#000000',
  },
}
SCSS
$custom: #5e670f;
$custom-light: #8f9257;
$custom-dark: #000000;
JSON
{
  "hex": "#5e670f",
  "rgb": {
    "r": 94,
    "g": 103,
    "b": 15
  },
  "hsl": {
    "h": 66.136,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.48971,
    "c": 0.10549,
    "h": 115.7
  },
  "luminance": 0.12115
}

Semantic roles & 50–950 ramp

primary
#5E670F
secondary
#3D32A0
accent
#37F14A
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5E670F

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

Preview Lab → · Contrast checker → · Palette generator →

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