#6F7420#6F7420

#6F7420 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 53.8% C 0.105 H 112.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6F7420
RGBrgb(111, 116, 32)
HSLhsl(64, 57%, 29%)
HSVhsv(64, 72%, 45%)
CMYKcmyk(4.3%, 0%, 72.4%, 54.5%)
CIE-LABlab(46.94, -13.28, 43.38)
CIE-LCHlch(46.94, 45.37, 107.02°)
OKLaboklab(53.8% -0.0406 0.0968)
OKLCHoklch(53.8% 0.105 112.8)
XYZxyz(13.0620, 15.9749, 3.7616)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7420 #252074
analogous
#744F20 #6F7420 #457420
triadic
#6F7420 #206F74 #74206F
tetradic
#6F7420 #20744F #252074 #742045
square
#6F7420 #20744F #252074 #742045
split-complementary
#6F7420 #204574 #4F2074
monochromatic
#171807 #414413 #6F7420 #9DA42D #C3CB43

Accessibility & contrast

On white

5.01
#6F7420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#6F7420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7420
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7420#FFFFFF#000000##FFFFFF
##6F74201.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E12
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#776D63
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6f7420;
/* rgb */ color: rgb(111, 116, 32);
/* oklch */ color: oklch(53.8% 0.105 112.8);
Tailwind
colors: {
  custom: {
    50: '#9b9b61',
    500: '#6f7420',
    950: '#000000',
  },
}
SCSS
$custom: #6f7420;
$custom-light: #9b9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7420",
  "rgb": {
    "r": 111,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 63.571,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53804,
    "c": 0.10498,
    "h": 112.8
  },
  "luminance": 0.15975
}

Semantic roles & 50–950 ramp

primary
#6F7420
secondary
#4E48A8
accent
#48E051
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6F7420

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

Preview Lab → · Contrast checker → · Palette generator →

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