#6B7213#6B7213

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

Color values

HEX#6B7213
RGBrgb(107, 114, 19)
HSLhsl(64, 71%, 26%)
HSVhsv(64, 83%, 45%)
CMYKcmyk(6.1%, 0%, 83.3%, 55.3%)
CIE-LABlab(45.92, -14.68, 46.97)
CIE-LCHlch(45.92, 49.21, 107.35°)
OKLaboklab(52.88% -0.0455 0.1021)
OKLCHoklch(52.88% 0.112 114)
XYZxyz(12.1986, 15.2077, 2.9087)
Luminance0.1521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7213 #1A1372
analogous
#724913 #6B7213 #3B7213
triadic
#6B7213 #136B72 #72136B
tetradic
#6B7213 #137249 #1A1372 #72133B
square
#6B7213 #137249 #1A1372 #72133B
split-complementary
#6B7213 #133B72 #491372
monochromatic
#191A04 #3A3E0A #6B7213 #9CA61C #CDDB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #6b7213;
/* rgb */ color: rgb(107, 114, 19);
/* oklch */ color: oklch(52.9% 0.112 114.0);
Tailwind
colors: {
  custom: {
    50: '#999a5b',
    500: '#6b7213',
    950: '#000000',
  },
}
SCSS
$custom: #6b7213;
$custom-light: #999a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7213",
  "rgb": {
    "r": 107,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 64.421,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52875,
    "c": 0.11175,
    "h": 114
  },
  "luminance": 0.15207
}

Semantic roles & 50–950 ramp

primary
#6B7213
secondary
#4038A9
accent
#3AEE47
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6B7213

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

Preview Lab → · Contrast checker → · Palette generator →

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