#6B7211#6B7211

#6B7211 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 52.9% C 0.113 H 114.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6B7211
RGBrgb(107, 114, 17)
HSLhsl(64, 74%, 26%)
HSVhsv(64, 85%, 45%)
CMYKcmyk(6.1%, 0%, 85.1%, 55.3%)
CIE-LABlab(45.91, -14.75, 47.55)
CIE-LCHlch(45.91, 49.78, 107.24°)
OKLaboklab(52.86% -0.0459 0.1029)
OKLCHoklch(52.86% 0.113 114)
XYZxyz(12.1823, 15.2012, 2.8226)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7211 #181172
analogous
#724811 #6B7211 #3A7211
triadic
#6B7211 #116B72 #72116B
tetradic
#6B7211 #117248 #181172 #72113A
square
#6B7211 #117248 #181172 #72113A
split-complementary
#6B7211 #113A72 #481172
monochromatic
#191B04 #393D09 #6B7211 #9DA719 #CFDD21

Accessibility & contrast

On white

5.20
#6B7211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6B7211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7211
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7211#FFFFFF#000000##FFFFFF
##6B72111.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7B6E1B
Tritanopia (blue-blind)
#736B61
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6b7211;
/* rgb */ color: rgb(107, 114, 17);
/* oklch */ color: oklch(52.9% 0.113 114.0);
Tailwind
colors: {
  custom: {
    50: '#999a5a',
    500: '#6b7211',
    950: '#000000',
  },
}
SCSS
$custom: #6b7211;
$custom-light: #999a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7211",
  "rgb": {
    "r": 107,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 64.33,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.52865,
    "c": 0.11268,
    "h": 114
  },
  "luminance": 0.15201
}

Semantic roles & 50–950 ramp

primary
#6B7211
secondary
#3E36A9
accent
#37F145
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6B7211

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

Preview Lab → · Contrast checker → · Palette generator →

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