#6E6218#6E6218

#6E6218 is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 49.3% C 0.092 H 99.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6E6218
RGBrgb(110, 98, 24)
HSLhsl(52, 64%, 26%)
HSVhsv(52, 78%, 43%)
CMYKcmyk(0%, 10.9%, 78.2%, 56.9%)
CIE-LABlab(41.40, -4.03, 41.19)
CIE-LCHlch(41.40, 41.38, 95.58°)
OKLaboklab(49.35% -0.0155 0.0906)
OKLCHoklch(49.35% 0.092 99.7)
XYZxyz(10.9635, 12.1168, 2.6253)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E6218 #18246E
analogous
#6E3718 #6E6218 #4F6E18
triadic
#6E6218 #186E62 #62186E
tetradic
#6E6218 #186E37 #18246E #6E184F
square
#6E6218 #186E37 #18246E #6E184F
split-complementary
#6E6218 #184F6E #37186E
monochromatic
#191605 #3C350D #6E6218 #A08F23 #D2BB2F

Accessibility & contrast

On white

6.13
#6E6218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6E6218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E6218
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E6218#FFFFFF#000000##FFFFFF
##6E62181.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)
#6C5F0A
Deuteranopia (green-blind)
#6F641D
Tritanopia (blue-blind)
#775A54
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6e6218;
/* rgb */ color: rgb(110, 98, 24);
/* oklch */ color: oklch(49.3% 0.092 99.7);
Tailwind
colors: {
  custom: {
    50: '#9b8e5b',
    500: '#6e6218',
    950: '#000000',
  },
}
SCSS
$custom: #6e6218;
$custom-light: #9b8e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6e6218",
  "rgb": {
    "r": 110,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 51.628,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49348,
    "c": 0.09194,
    "h": 99.7
  },
  "luminance": 0.12116
}

Semantic roles & 50–950 ramp

primary
#6E6218
secondary
#3E4CA4
accent
#58E741
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6E6218

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

Preview Lab → · Contrast checker → · Palette generator →

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