#6A7313#6A7313

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

Color values

HEX#6A7313
RGBrgb(106, 115, 19)
HSLhsl(66, 72%, 26%)
HSVhsv(66, 83%, 45%)
CMYKcmyk(7.8%, 0%, 83.5%, 54.9%)
CIE-LABlab(46.14, -15.68, 47.13)
CIE-LCHlch(46.14, 49.67, 108.40°)
OKLaboklab(53.03% -0.0482 0.1025)
OKLCHoklch(53.03% 0.113 115.2)
XYZxyz(12.1925, 15.3729, 2.9409)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7313 #1C1373
analogous
#734C13 #6A7313 #3A7313
triadic
#6A7313 #136A73 #73136A
tetradic
#6A7313 #13734C #1C1373 #73133A
square
#6A7313 #13734C #1C1373 #73133A
split-complementary
#6A7313 #133A73 #4C1373
monochromatic
#181A04 #3A3E0A #6A7313 #9AA81C #CADB25

Accessibility & contrast

On white

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

On black

4.07
#6A7313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6A7313#FFFFFF#000000##FFFFFF
##6A73131.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a7313;
/* rgb */ color: rgb(106, 115, 19);
/* oklch */ color: oklch(53.0% 0.113 115.2);
Tailwind
colors: {
  custom: {
    50: '#989b5b',
    500: '#6a7313',
    950: '#000000',
  },
}
SCSS
$custom: #6a7313;
$custom-light: #989b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7313",
  "rgb": {
    "r": 106,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 65.625,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.53034,
    "c": 0.11324,
    "h": 115.2
  },
  "luminance": 0.15373
}

Semantic roles & 50–950 ramp

primary
#6A7313
secondary
#4338AA
accent
#39EE4A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6A7313

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

Preview Lab → · Contrast checker → · Palette generator →

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