#6E7A18#6E7A18

#6E7A18 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.1% C 0.117 H 116.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6E7A18
RGBrgb(110, 122, 24)
HSLhsl(67, 67%, 29%)
HSVhsv(67, 80%, 48%)
CMYKcmyk(9.8%, 0%, 80.3%, 52.2%)
CIE-LABlab(48.64, -17.37, 47.92)
CIE-LCHlch(48.64, 50.97, 109.93°)
OKLaboklab(55.13% -0.0527 0.1049)
OKLCHoklch(55.13% 0.117 116.7)
XYZxyz(13.5552, 17.3002, 3.4892)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7A18 #24187A
analogous
#7A5518 #6E7A18 #3D7A18
triadic
#6E7A18 #186E7A #7A186E
tetradic
#6E7A18 #187A55 #24187A #7A183D
square
#6E7A18 #187A55 #24187A #7A183D
split-complementary
#6E7A18 #183D7A #55187A
monochromatic
#171A05 #40470E #6E7A18 #9CAD22 #C3D735

Accessibility & contrast

On white

4.71
#6E7A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#6E7A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7A18
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7A18#FFFFFF#000000##FFFFFF
##6E7A181.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#757368
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6e7a18;
/* rgb */ color: rgb(110, 122, 24);
/* oklch */ color: oklch(55.1% 0.117 116.7);
Tailwind
colors: {
  custom: {
    50: '#9ba05e',
    500: '#6e7a18',
    950: '#000000',
  },
}
SCSS
$custom: #6e7a18;
$custom-light: #9ba05e;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7a18",
  "rgb": {
    "r": 110,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 67.347,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55127,
    "c": 0.11741,
    "h": 116.7
  },
  "luminance": 0.173
}

Semantic roles & 50–950 ramp

primary
#6E7A18
secondary
#4D3FAF
accent
#3EEA53
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6E7A18

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

Preview Lab → · Contrast checker → · Palette generator →

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