#6E6815#6E6815

#6E6815 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.7% C 0.099 H 105.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#6E6815
RGBrgb(110, 104, 21)
HSLhsl(56, 68%, 26%)
HSVhsv(56, 81%, 43%)
CMYKcmyk(0%, 5.5%, 80.9%, 56.9%)
CIE-LABlab(43.17, -7.61, 43.95)
CIE-LCHlch(43.17, 44.61, 99.83°)
OKLaboklab(50.75% -0.0259 0.0959)
OKLCHoklch(50.75% 0.099 105.1)
XYZxyz(11.5166, 13.2702, 2.6641)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E6815 #151B6E
analogous
#6E3B15 #6E6815 #476E15
triadic
#6E6815 #156E68 #68156E
tetradic
#6E6815 #156E3B #151B6E #6E1547
square
#6E6815 #156E3B #151B6E #6E1547
split-complementary
#6E6815 #15476E #3B156E
monochromatic
#1A1805 #3B370B #6E6815 #A1991F #D5C929

Accessibility & contrast

On white

5.75
#6E6815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6E6815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E6815
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E6815#FFFFFF#000000##FFFFFF
##6E68151.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726402
Deuteranopia (green-blind)
#74681C
Tritanopia (blue-blind)
#776058
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6e6815;
/* rgb */ color: rgb(110, 104, 21);
/* oklch */ color: oklch(50.7% 0.099 105.1);
Tailwind
colors: {
  custom: {
    50: '#9b925a',
    500: '#6e6815',
    950: '#000000',
  },
}
SCSS
$custom: #6e6815;
$custom-light: #9b925a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e6815",
  "rgb": {
    "r": 110,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 55.955,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50746,
    "c": 0.09931,
    "h": 105.1
  },
  "luminance": 0.1327
}

Semantic roles & 50–950 ramp

primary
#6E6815
secondary
#3A42A4
accent
#49EB3D
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6E6815

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

Preview Lab → · Contrast checker → · Palette generator →

#6E6815 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva