#6A7215#6A7215

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

Color values

HEX#6A7215
RGBrgb(106, 114, 21)
HSLhsl(65, 69%, 26%)
HSVhsv(65, 82%, 45%)
CMYKcmyk(7%, 0%, 81.6%, 55.3%)
CIE-LABlab(45.84, -15.06, 46.24)
CIE-LCHlch(45.84, 48.63, 108.04°)
OKLaboklab(52.8% -0.0464 0.1009)
OKLCHoklch(52.8% 0.111 114.7)
XYZxyz(12.0969, 15.1532, 2.9969)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7215 #1D1572
analogous
#724C15 #6A7215 #3C7215
triadic
#6A7215 #156A72 #72156A
tetradic
#6A7215 #15724C #1D1572 #72153C
square
#6A7215 #15724C #1D1572 #72153C
split-complementary
#6A7215 #153C72 #4C1572
monochromatic
#181A05 #3A3E0B #6A7215 #9AA61F #C9D82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #6a7215;
/* rgb */ color: rgb(106, 114, 21);
/* oklch */ color: oklch(52.8% 0.111 114.7);
Tailwind
colors: {
  custom: {
    50: '#989a5c',
    500: '#6a7215',
    950: '#000000',
  },
}
SCSS
$custom: #6a7215;
$custom-light: #989a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7215",
  "rgb": {
    "r": 106,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 65.161,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52798,
    "c": 0.11107,
    "h": 114.7
  },
  "luminance": 0.15153
}

Semantic roles & 50–950 ramp

primary
#6A7215
secondary
#443BA8
accent
#3CEC4B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6A7215

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

Preview Lab → · Contrast checker → · Palette generator →

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