#6E7D18#6E7D18

#6E7D18 is a mid, vivid yellow. Relative luminance 0.180; OKLCH L 55.9% C 0.121 H 118.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#6E7D18
RGBrgb(110, 125, 24)
HSLhsl(69, 68%, 29%)
HSVhsv(69, 81%, 49%)
CMYKcmyk(12%, 0%, 80.8%, 51%)
CIE-LABlab(49.55, -18.95, 48.75)
CIE-LCHlch(49.55, 52.30, 111.24°)
OKLaboklab(55.87% -0.0571 0.1067)
OKLCHoklch(55.87% 0.121 118.1)
XYZxyz(13.9292, 18.0483, 3.6139)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7D18 #27187D
analogous
#7D5A18 #6E7D18 #3C7D18
triadic
#6E7D18 #186E7D #7D186E
tetradic
#6E7D18 #187D5A #27187D #7D183C
square
#6E7D18 #187D5A #27187D #7D183C
split-complementary
#6E7D18 #183C7D #5A187D
monochromatic
#171A05 #414A0E #6E7D18 #9BB022 #C1D937

Accessibility & contrast

On white

4.56
#6E7D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#6E7D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E7D18
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7D18#FFFFFF#000000##000000
##6E7D181.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#75766A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6e7d18;
/* rgb */ color: rgb(110, 125, 24);
/* oklch */ color: oklch(55.9% 0.121 118.1);
Tailwind
colors: {
  custom: {
    50: '#9ba25f',
    500: '#6e7d18',
    950: '#000000',
  },
}
SCSS
$custom: #6e7d18;
$custom-light: #9ba25f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7d18",
  "rgb": {
    "r": 110,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 68.911,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55866,
    "c": 0.12099,
    "h": 118.1
  },
  "luminance": 0.18048
}

Semantic roles & 50–950 ramp

primary
#6E7D18
secondary
#503FB2
accent
#3DEB57
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6E7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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