#6E6918#6E6918

#6E6918 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 51.0% C 0.099 H 105.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6E6918
RGBrgb(110, 105, 24)
HSLhsl(57, 64%, 26%)
HSVhsv(57, 78%, 43%)
CMYKcmyk(0%, 4.5%, 78.2%, 56.9%)
CIE-LABlab(43.48, -8.05, 43.15)
CIE-LCHlch(43.48, 43.90, 100.56°)
OKLaboklab(51% -0.0268 0.0948)
OKLCHoklch(51% 0.099 105.8)
XYZxyz(11.6473, 13.4845, 2.8532)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E6918 #181D6E
analogous
#6E3E18 #6E6918 #486E18
triadic
#6E6918 #186E69 #69186E
tetradic
#6E6918 #186E3E #181D6E #6E1848
square
#6E6918 #186E3E #181D6E #6E1848
split-complementary
#6E6918 #18486E #3E186E
monochromatic
#191805 #3C390D #6E6918 #A09923 #D2C82F

Accessibility & contrast

On white

5.68
#6E6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6E6918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E6918
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E6918#FFFFFF#000000##FFFFFF
##6E69181.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736507
Deuteranopia (green-blind)
#75681E
Tritanopia (blue-blind)
#77615A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6e6918;
/* rgb */ color: rgb(110, 105, 24);
/* oklch */ color: oklch(51.0% 0.099 105.8);
Tailwind
colors: {
  custom: {
    50: '#9b935c',
    500: '#6e6918',
    950: '#000000',
  },
}
SCSS
$custom: #6e6918;
$custom-light: #9b935c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e6918",
  "rgb": {
    "r": 110,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 56.512,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51004,
    "c": 0.09851,
    "h": 105.8
  },
  "luminance": 0.13484
}

Semantic roles & 50–950 ramp

primary
#6E6918
secondary
#3E44A4
accent
#4AE741
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6E6918

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

Preview Lab → · Contrast checker → · Palette generator →

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