#6A7415#6A7415

#6A7415 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.3% C 0.113 H 115.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6A7415
RGBrgb(106, 116, 21)
HSLhsl(66, 69%, 27%)
HSVhsv(66, 82%, 45%)
CMYKcmyk(8.6%, 0%, 81.9%, 54.5%)
CIE-LABlab(46.46, -16.14, 46.79)
CIE-LCHlch(46.46, 49.50, 109.03°)
OKLaboklab(53.29% -0.0493 0.1021)
OKLCHoklch(53.29% 0.113 115.8)
XYZxyz(12.3250, 15.6093, 3.0729)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7415 #1F1574
analogous
#744F15 #6A7415 #3B7415
triadic
#6A7415 #156A74 #74156A
tetradic
#6A7415 #15744F #1F1574 #74153B
square
#6A7415 #15744F #1F1574 #74153B
split-complementary
#6A7415 #153B74 #4F1574
monochromatic
#181A05 #3B400C #6A7415 #99A81E #C6D92B

Accessibility & contrast

On white

5.09
#6A7415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#6A7415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7415
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7415#FFFFFF#000000##FFFFFF
##6A74151.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7C6F1E
Tritanopia (blue-blind)
#716D63
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6a7415;
/* rgb */ color: rgb(106, 116, 21);
/* oklch */ color: oklch(53.3% 0.113 115.8);
Tailwind
colors: {
  custom: {
    50: '#989b5c',
    500: '#6a7415',
    950: '#000000',
  },
}
SCSS
$custom: #6a7415;
$custom-light: #989b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7415",
  "rgb": {
    "r": 106,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 66.316,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.53291,
    "c": 0.11341,
    "h": 115.8
  },
  "luminance": 0.15609
}

Semantic roles & 50–950 ramp

primary
#6A7415
secondary
#473BAA
accent
#3CEC4E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6A7415

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

Preview Lab → · Contrast checker → · Palette generator →

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