#6A7210#6A7210

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

Color values

HEX#6A7210
RGBrgb(106, 114, 16)
HSLhsl(65, 75%, 25%)
HSVhsv(65, 86%, 45%)
CMYKcmyk(7%, 0%, 86%, 55.3%)
CIE-LABlab(45.82, -15.25, 47.72)
CIE-LCHlch(45.82, 50.10, 107.72°)
OKLaboklab(52.77% -0.0473 0.1032)
OKLCHoklch(52.77% 0.113 114.6)
XYZxyz(12.0551, 15.1364, 2.7767)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7210 #181072
analogous
#724910 #6A7210 #397210
triadic
#6A7210 #106A72 #72106A
tetradic
#6A7210 #107249 #181072 #721039
square
#6A7210 #107249 #181072 #721039
split-complementary
#6A7210 #103972 #491072
monochromatic
#191B04 #383C08 #6A7210 #9CA818 #CEDD1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A7210#FFFFFF#000000##FFFFFF
##6A72101.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)
#7B6D1A
Tritanopia (blue-blind)
#726B61
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6a7210;
/* rgb */ color: rgb(106, 114, 16);
/* oklch */ color: oklch(52.8% 0.113 114.6);
Tailwind
colors: {
  custom: {
    50: '#989a5a',
    500: '#6a7210',
    950: '#000000',
  },
}
SCSS
$custom: #6a7210;
$custom-light: #989a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7210",
  "rgb": {
    "r": 106,
    "g": 114,
    "b": 16
  },
  "hsl": {
    "h": 64.898,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.52772,
    "c": 0.11347,
    "h": 114.6
  },
  "luminance": 0.15136
}

Semantic roles & 50–950 ramp

primary
#6A7210
secondary
#3E34A9
accent
#36F245
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6A7210

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

Preview Lab → · Contrast checker → · Palette generator →

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