#6C7210#6C7210

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

Color values

HEX#6C7210
RGBrgb(108, 114, 16)
HSLhsl(64, 75%, 25%)
HSVhsv(64, 86%, 45%)
CMYKcmyk(5.3%, 0%, 86%, 55.3%)
CIE-LABlab(45.99, -14.32, 47.93)
CIE-LCHlch(45.99, 50.02, 106.63°)
OKLaboklab(52.95% -0.0448 0.1035)
OKLCHoklch(52.95% 0.113 113.4)
XYZxyz(12.2956, 15.2605, 2.7880)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7210 #161072
analogous
#724710 #6C7210 #3B7210
triadic
#6C7210 #106C72 #72106C
tetradic
#6C7210 #107247 #161072 #72103B
square
#6C7210 #107247 #161072 #72103B
split-complementary
#6C7210 #103B72 #471072
monochromatic
#191B04 #393C08 #6C7210 #9FA818 #D2DD1F

Accessibility & contrast

On white

5.18
#6C7210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6C7210 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7210
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7210#FFFFFF#000000##FFFFFF
##6C72101.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c7210;
/* rgb */ color: rgb(108, 114, 16);
/* oklch */ color: oklch(52.9% 0.113 113.4);
Tailwind
colors: {
  custom: {
    50: '#999a5a',
    500: '#6c7210',
    950: '#000000',
  },
}
SCSS
$custom: #6c7210;
$custom-light: #999a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7210",
  "rgb": {
    "r": 108,
    "g": 114,
    "b": 16
  },
  "hsl": {
    "h": 63.673,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.52949,
    "c": 0.11281,
    "h": 113.4
  },
  "luminance": 0.1526
}

Semantic roles & 50–950 ramp

primary
#6C7210
secondary
#3C34A9
accent
#36F241
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6C7210

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

Preview Lab → · Contrast checker → · Palette generator →

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