#6A7315#6A7315

#6A7315 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.0% C 0.112 H 115.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6A7315
RGBrgb(106, 115, 21)
HSLhsl(66, 69%, 27%)
HSVhsv(66, 82%, 45%)
CMYKcmyk(7.8%, 0%, 81.7%, 54.9%)
CIE-LABlab(46.15, -15.60, 46.52)
CIE-LCHlch(46.15, 49.06, 108.54°)
OKLaboklab(53.04% -0.0479 0.1015)
OKLCHoklch(53.04% 0.112 115.2)
XYZxyz(12.2103, 15.3800, 3.0347)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7315 #1E1573
analogous
#734D15 #6A7315 #3B7315
triadic
#6A7315 #156A73 #73156A
tetradic
#6A7315 #15734D #1E1573 #73153B
square
#6A7315 #15734D #1E1573 #73153B
split-complementary
#6A7315 #153B73 #4D1573
monochromatic
#181A05 #3A3F0C #6A7315 #9AA71E #C7D82A

Accessibility & contrast

On white

5.15
#6A7315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6A7315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7315
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7315#FFFFFF#000000##FFFFFF
##6A73151.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7B6E1E
Tritanopia (blue-blind)
#716C62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6a7315;
/* rgb */ color: rgb(106, 115, 21);
/* oklch */ color: oklch(53.0% 0.112 115.2);
Tailwind
colors: {
  custom: {
    50: '#989b5c',
    500: '#6a7315',
    950: '#000000',
  },
}
SCSS
$custom: #6a7315;
$custom-light: #989b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7315",
  "rgb": {
    "r": 106,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 65.745,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.53044,
    "c": 0.11224,
    "h": 115.2
  },
  "luminance": 0.1538
}

Semantic roles & 50–950 ramp

primary
#6A7315
secondary
#453BA9
accent
#3CEC4D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6A7315

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

Preview Lab → · Contrast checker → · Palette generator →

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