#6E7218#6E7218

#6E7218 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.2% C 0.108 H 112.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6E7218
RGBrgb(110, 114, 24)
HSLhsl(63, 65%, 27%)
HSVhsv(63, 79%, 45%)
CMYKcmyk(3.5%, 0%, 78.9%, 55.3%)
CIE-LABlab(46.20, -13.06, 45.68)
CIE-LCHlch(46.20, 47.51, 105.96°)
OKLaboklab(53.17% -0.0408 0.1002)
OKLCHoklch(53.17% 0.108 112.2)
XYZxyz(12.6130, 15.4159, 3.1751)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7218 #1C1872
analogous
#724918 #6E7218 #417218
triadic
#6E7218 #186E72 #72186E
tetradic
#6E7218 #187249 #1C1872 #721841
square
#6E7218 #187249 #1C1872 #721841
split-complementary
#6E7218 #184172 #491872
monochromatic
#181905 #3D3F0D #6E7218 #9FA523 #CCD431

Accessibility & contrast

On white

5.14
#6E7218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6E7218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7218
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7218#FFFFFF#000000##FFFFFF
##6E72181.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C03
Deuteranopia (green-blind)
#7C6E20
Tritanopia (blue-blind)
#766B61
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6e7218;
/* rgb */ color: rgb(110, 114, 24);
/* oklch */ color: oklch(53.2% 0.108 112.2);
Tailwind
colors: {
  custom: {
    50: '#9b9a5d',
    500: '#6e7218',
    950: '#000000',
  },
}
SCSS
$custom: #6e7218;
$custom-light: #9b9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7218",
  "rgb": {
    "r": 110,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 62.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.53172,
    "c": 0.10815,
    "h": 112.2
  },
  "luminance": 0.15416
}

Semantic roles & 50–950 ramp

primary
#6E7218
secondary
#433EA7
accent
#40E847
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6E7218

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

Preview Lab → · Contrast checker → · Palette generator →

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