#6F7220#6F7220

#6F7220 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.3% C 0.103 H 111.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#6F7220
RGBrgb(111, 114, 32)
HSLhsl(62, 56%, 29%)
HSVhsv(62, 72%, 45%)
CMYKcmyk(2.6%, 0%, 71.9%, 55.3%)
CIE-LABlab(46.34, -12.18, 42.78)
CIE-LCHlch(46.34, 44.48, 105.89°)
OKLaboklab(53.32% -0.0376 0.0955)
OKLCHoklch(53.32% 0.103 111.5)
XYZxyz(12.8340, 15.5187, 3.6856)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7220 #232072
analogous
#724C20 #6F7220 #467220
triadic
#6F7220 #206F72 #72206F
tetradic
#6F7220 #20724C #232072 #722046
square
#6F7220 #20724C #232072 #722046
split-complementary
#6F7220 #204672 #4C2072
monochromatic
#171807 #404213 #6F7220 #9EA22D #C5CA42

Accessibility & contrast

On white

5.12
#6F7220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#6F7220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7220
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7220#FFFFFF#000000##FFFFFF
##6F72201.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D13
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#776B62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6f7220;
/* rgb */ color: rgb(111, 114, 32);
/* oklch */ color: oklch(53.3% 0.103 111.5);
Tailwind
colors: {
  custom: {
    50: '#9b9a61',
    500: '#6f7220',
    950: '#000000',
  },
}
SCSS
$custom: #6f7220;
$custom-light: #9b9a61;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7220",
  "rgb": {
    "r": 111,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 62.195,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5332,
    "c": 0.10266,
    "h": 111.5
  },
  "luminance": 0.15518
}

Semantic roles & 50–950 ramp

primary
#6F7220
secondary
#4C48A6
accent
#48DF4E
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6F7220

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

Preview Lab → · Contrast checker → · Palette generator →

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