#6A7213#6A7213

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

Color values

HEX#6A7213
RGBrgb(106, 114, 19)
HSLhsl(65, 71%, 26%)
HSVhsv(65, 83%, 45%)
CMYKcmyk(7%, 0%, 83.3%, 55.3%)
CIE-LABlab(45.83, -15.14, 46.86)
CIE-LCHlch(45.83, 49.25, 107.91°)
OKLaboklab(52.79% -0.0467 0.1019)
OKLCHoklch(52.79% 0.112 114.7)
XYZxyz(12.0791, 15.1460, 2.9031)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7213 #1B1372
analogous
#724A13 #6A7213 #3A7213
triadic
#6A7213 #136A72 #72136A
tetradic
#6A7213 #13724A #1B1372 #72133A
square
#6A7213 #13724A #1B1372 #72133A
split-complementary
#6A7213 #133A72 #4A1372
monochromatic
#181A04 #393E0A #6A7213 #9BA61C #CBDB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A7213#FFFFFF#000000##FFFFFF
##6A72131.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)
#7A6D1C
Tritanopia (blue-blind)
#726B61
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6a7213;
/* rgb */ color: rgb(106, 114, 19);
/* oklch */ color: oklch(52.8% 0.112 114.7);
Tailwind
colors: {
  custom: {
    50: '#989a5b',
    500: '#6a7213',
    950: '#000000',
  },
}
SCSS
$custom: #6a7213;
$custom-light: #989a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7213",
  "rgb": {
    "r": 106,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 65.053,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52787,
    "c": 0.11209,
    "h": 114.7
  },
  "luminance": 0.15146
}

Semantic roles & 50–950 ramp

primary
#6A7213
secondary
#4238A9
accent
#3AEE49
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6A7213

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

Preview Lab → · Contrast checker → · Palette generator →

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