#6A7211#6A7211

#6A7211 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 52.8% C 0.113 H 114.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6A7211
RGBrgb(106, 114, 17)
HSLhsl(65, 74%, 26%)
HSVhsv(65, 85%, 45%)
CMYKcmyk(7%, 0%, 85.1%, 55.3%)
CIE-LABlab(45.82, -15.22, 47.44)
CIE-LCHlch(45.82, 49.82, 107.78°)
OKLaboklab(52.78% -0.0471 0.1027)
OKLCHoklch(52.78% 0.113 114.6)
XYZxyz(12.0627, 15.1395, 2.8170)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7211 #191172
analogous
#724911 #6A7211 #3A7211
triadic
#6A7211 #116A72 #72116A
tetradic
#6A7211 #117249 #191172 #72113A
square
#6A7211 #117249 #191172 #72113A
split-complementary
#6A7211 #113A72 #491172
monochromatic
#191B04 #383D09 #6A7211 #9CA719 #CDDD21

Accessibility & contrast

On white

5.21
#6A7211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#6A7211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7211
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7211#FFFFFF#000000##FFFFFF
##6A72111.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7B6D1B
Tritanopia (blue-blind)
#726B61
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6a7211;
/* rgb */ color: rgb(106, 114, 17);
/* oklch */ color: oklch(52.8% 0.113 114.6);
Tailwind
colors: {
  custom: {
    50: '#989a5a',
    500: '#6a7211',
    950: '#000000',
  },
}
SCSS
$custom: #6a7211;
$custom-light: #989a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7211",
  "rgb": {
    "r": 106,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 64.948,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.52777,
    "c": 0.11303,
    "h": 114.6
  },
  "luminance": 0.15139
}

Semantic roles & 50–950 ramp

primary
#6A7211
secondary
#3F36A9
accent
#37F146
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6A7211

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

Preview Lab → · Contrast checker → · Palette generator →

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