#6F7622#6F7622

#6F7622 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.3% C 0.106 H 114.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#6F7622
RGBrgb(111, 118, 34)
HSLhsl(65, 55%, 30%)
HSVhsv(65, 71%, 46%)
CMYKcmyk(5.9%, 0%, 71.2%, 53.7%)
CIE-LABlab(47.56, -14.24, 43.18)
CIE-LCHlch(47.56, 45.47, 108.26°)
OKLaboklab(54.31% -0.0431 0.0967)
OKLCHoklch(54.31% 0.106 114)
XYZxyz(13.3231, 16.4521, 3.9868)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7622 #292276
analogous
#765322 #6F7622 #457622
triadic
#6F7622 #226F76 #76226F
tetradic
#6F7622 #227653 #292276 #762245
square
#6F7622 #227653 #292276 #762245
split-complementary
#6F7622 #224576 #532276
monochromatic
#161807 #424614 #6F7622 #9CA630 #BFCA48

Accessibility & contrast

On white

4.89
#6F7622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#6F7622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7622
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7622#FFFFFF#000000##FFFFFF
##6F76221.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f7622;
/* rgb */ color: rgb(111, 118, 34);
/* oklch */ color: oklch(54.3% 0.106 114.0);
Tailwind
colors: {
  custom: {
    50: '#9b9d63',
    500: '#6f7622',
    950: '#000000',
  },
}
SCSS
$custom: #6f7622;
$custom-light: #9b9d63;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7622",
  "rgb": {
    "r": 111,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 65,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54305,
    "c": 0.1059,
    "h": 114
  },
  "luminance": 0.16452
}

Semantic roles & 50–950 ramp

primary
#6F7622
secondary
#534BA9
accent
#49DF56
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A

Preview Lab

Preview with #6F7622

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

Preview Lab → · Contrast checker → · Palette generator →

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