#6E7318#6E7318

#6E7318 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.4% C 0.109 H 112.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6E7318
RGBrgb(110, 115, 24)
HSLhsl(63, 65%, 27%)
HSVhsv(63, 79%, 45%)
CMYKcmyk(4.3%, 0%, 79.1%, 54.9%)
CIE-LABlab(46.50, -13.61, 45.96)
CIE-LCHlch(46.50, 47.93, 106.50°)
OKLaboklab(53.42% -0.0423 0.1008)
OKLCHoklch(53.42% 0.109 112.8)
XYZxyz(12.7264, 15.6427, 3.2129)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7318 #1D1873
analogous
#734B18 #6E7318 #407318
triadic
#6E7318 #186E73 #73186E
tetradic
#6E7318 #18734B #1D1873 #731840
square
#6E7318 #18734B #1D1873 #731840
split-complementary
#6E7318 #184073 #4B1873
monochromatic
#181905 #3E400D #6E7318 #9EA623 #CBD431

Accessibility & contrast

On white

5.09
#6E7318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#6E7318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7318
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7318#FFFFFF#000000##FFFFFF
##6E73181.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D02
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#766C62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6e7318;
/* rgb */ color: rgb(110, 115, 24);
/* oklch */ color: oklch(53.4% 0.109 112.8);
Tailwind
colors: {
  custom: {
    50: '#9b9b5d',
    500: '#6e7318',
    950: '#000000',
  },
}
SCSS
$custom: #6e7318;
$custom-light: #9b9b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7318",
  "rgb": {
    "r": 110,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 63.297,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.53415,
    "c": 0.10929,
    "h": 112.8
  },
  "luminance": 0.15642
}

Semantic roles & 50–950 ramp

primary
#6E7318
secondary
#443FA8
accent
#3FE849
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6E7318

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

Preview Lab → · Contrast checker → · Palette generator →

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