#6E7918#6E7918

#6E7918 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 54.9% C 0.116 H 116.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#6E7918
RGBrgb(110, 121, 24)
HSLhsl(67, 67%, 28%)
HSVhsv(67, 80%, 47%)
CMYKcmyk(9.1%, 0%, 80.2%, 52.5%)
CIE-LABlab(48.33, -16.84, 47.64)
CIE-LCHlch(48.33, 50.53, 109.47°)
OKLaboklab(54.88% -0.0513 0.1043)
OKLCHoklch(54.88% 0.116 116.2)
XYZxyz(13.4330, 17.0559, 3.4485)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7918 #231879
analogous
#795318 #6E7918 #3D7918
triadic
#6E7918 #186E79 #79186E
tetradic
#6E7918 #187953 #231879 #79183D
square
#6E7918 #187953 #231879 #79183D
split-complementary
#6E7918 #183D79 #531879
monochromatic
#171A05 #40460E #6E7918 #9CAC22 #C4D735

Accessibility & contrast

On white

4.76
#6E7918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#6E7918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7918
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7918#FFFFFF#000000##FFFFFF
##6E79181.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#817321
Tritanopia (blue-blind)
#757267
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6e7918;
/* rgb */ color: rgb(110, 121, 24);
/* oklch */ color: oklch(54.9% 0.116 116.2);
Tailwind
colors: {
  custom: {
    50: '#9b9f5e',
    500: '#6e7918',
    950: '#000000',
  },
}
SCSS
$custom: #6e7918;
$custom-light: #9b9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7918",
  "rgb": {
    "r": 110,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 66.804,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54881,
    "c": 0.11623,
    "h": 116.2
  },
  "luminance": 0.17056
}

Semantic roles & 50–950 ramp

primary
#6E7918
secondary
#4C3FAE
accent
#3EEA51
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6E7918

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

Preview Lab → · Contrast checker → · Palette generator →

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