#6E7622#6E7622

#6E7622 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.2% C 0.106 H 114.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#6E7622
RGBrgb(110, 118, 34)
HSLhsl(66, 55%, 30%)
HSVhsv(66, 71%, 46%)
CMYKcmyk(6.8%, 0%, 71.2%, 53.7%)
CIE-LABlab(47.48, -14.70, 43.07)
CIE-LCHlch(47.48, 45.51, 108.85°)
OKLaboklab(54.22% -0.0443 0.0965)
OKLCHoklch(54.22% 0.106 114.7)
XYZxyz(13.1979, 16.3876, 3.9809)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7622 #2A2276
analogous
#765422 #6E7622 #447622
triadic
#6E7622 #226E76 #76226E
tetradic
#6E7622 #227654 #2A2276 #762244
square
#6E7622 #227654 #2A2276 #762244
split-complementary
#6E7622 #224476 #542276
monochromatic
#161807 #424614 #6E7622 #9AA630 #BECA48

Accessibility & contrast

On white

4.91
#6E7622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#6E7622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7622
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7622#FFFFFF#000000##FFFFFF
##6E76221.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7015
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#756F65
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6e7622;
/* rgb */ color: rgb(110, 118, 34);
/* oklch */ color: oklch(54.2% 0.106 114.7);
Tailwind
colors: {
  custom: {
    50: '#9a9d63',
    500: '#6e7622',
    950: '#000000',
  },
}
SCSS
$custom: #6e7622;
$custom-light: #9a9d63;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7622",
  "rgb": {
    "r": 110,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 65.714,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54218,
    "c": 0.10622,
    "h": 114.7
  },
  "luminance": 0.16387
}

Semantic roles & 50–950 ramp

primary
#6E7622
secondary
#544BA9
accent
#49DF57
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A

Preview Lab

Preview with #6E7622

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

Preview Lab → · Contrast checker → · Palette generator →

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