#6F7331#6F7331

#6F7331 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.7% C 0.089 H 112.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6F7331
RGBrgb(111, 115, 49)
HSLhsl(64, 40%, 32%)
HSVhsv(64, 57%, 45%)
CMYKcmyk(3.5%, 0%, 57.4%, 54.9%)
CIE-LABlab(46.79, -11.47, 35.38)
CIE-LCHlch(46.79, 37.19, 107.96°)
OKLaboklab(53.74% -0.0336 0.0825)
OKLCHoklch(53.74% 0.089 112.2)
XYZxyz(13.2410, 15.8630, 5.2695)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7331 #353173
analogous
#735631 #6F7331 #4E7331
triadic
#6F7331 #316F73 #73316F
tetradic
#6F7331 #317356 #353173 #73314E
square
#6F7331 #317356 #353173 #73314E
split-complementary
#6F7331 #314E73 #563173
monochromatic
#1C1D0C #46481F #6F7331 #989E43 #B7BC62

Accessibility & contrast

On white

5.03
#6F7331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6F7331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7331
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7331#FFFFFF#000000##FFFFFF
##6F73311.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2A
Deuteranopia (green-blind)
#7B7035
Tritanopia (blue-blind)
#766D64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6f7331;
/* rgb */ color: rgb(111, 115, 49);
/* oklch */ color: oklch(53.7% 0.089 112.2);
Tailwind
colors: {
  custom: {
    50: '#9a9b6b',
    500: '#6f7331',
    950: '#000000',
  },
}
SCSS
$custom: #6f7331;
$custom-light: #9a9b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7331",
  "rgb": {
    "r": 111,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 63.636,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53736,
    "c": 0.08905,
    "h": 112.2
  },
  "luminance": 0.15863
}

Semantic roles & 50–950 ramp

primary
#6F7331
secondary
#605CA4
accent
#58D05F
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E07
muted
#7E7E7A

Preview Lab

Preview with #6F7331

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

Preview Lab → · Contrast checker → · Palette generator →

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