#6C7213#6C7213

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

Color values

HEX#6C7213
RGBrgb(108, 114, 19)
HSLhsl(64, 71%, 26%)
HSVhsv(64, 83%, 45%)
CMYKcmyk(5.3%, 0%, 83.3%, 55.3%)
CIE-LABlab(46.00, -14.21, 47.07)
CIE-LCHlch(46.00, 49.17, 106.80°)
OKLaboklab(52.96% -0.0443 0.1022)
OKLCHoklch(52.96% 0.111 113.4)
XYZxyz(12.3196, 15.2701, 2.9144)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7213 #191372
analogous
#724813 #6C7213 #3C7213
triadic
#6C7213 #136C72 #72136C
tetradic
#6C7213 #137248 #191372 #72133C
square
#6C7213 #137248 #191372 #72133C
split-complementary
#6C7213 #133C72 #481372
monochromatic
#191A04 #3A3E0A #6C7213 #9EA61C #CFDB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C7213#FFFFFF#000000##FFFFFF
##6C72131.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)
#7B6E1C
Tritanopia (blue-blind)
#746B61
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6c7213;
/* rgb */ color: rgb(108, 114, 19);
/* oklch */ color: oklch(53.0% 0.111 113.4);
Tailwind
colors: {
  custom: {
    50: '#999a5b',
    500: '#6c7213',
    950: '#000000',
  },
}
SCSS
$custom: #6c7213;
$custom-light: #999a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7213",
  "rgb": {
    "r": 108,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 63.789,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52964,
    "c": 0.11142,
    "h": 113.4
  },
  "luminance": 0.1527
}

Semantic roles & 50–950 ramp

primary
#6C7213
secondary
#3F38A9
accent
#3AEE45
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6C7213

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

Preview Lab → · Contrast checker → · Palette generator →

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