#6A7515#6A7515

#6A7515 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.5% C 0.115 H 116.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6A7515
RGBrgb(106, 117, 21)
HSLhsl(67, 70%, 27%)
HSVhsv(67, 82%, 46%)
CMYKcmyk(9.4%, 0%, 82.1%, 54.1%)
CIE-LABlab(46.77, -16.67, 47.07)
CIE-LCHlch(46.77, 49.94, 109.51°)
OKLaboklab(53.54% -0.0508 0.1027)
OKLCHoklch(53.54% 0.115 116.3)
XYZxyz(12.4408, 15.8411, 3.1116)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7515 #201575
analogous
#755015 #6A7515 #3A7515
triadic
#6A7515 #156A75 #75156A
tetradic
#6A7515 #157550 #201575 #75153A
square
#6A7515 #157550 #201575 #75153A
split-complementary
#6A7515 #153A75 #501575
monochromatic
#181A05 #3B410C #6A7515 #99A91E #C5D92B

Accessibility & contrast

On white

5.04
#6A7515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6A7515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7515
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7515#FFFFFF#000000##FFFFFF
##6A75151.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#7D6F1E
Tritanopia (blue-blind)
#716E63
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6a7515;
/* rgb */ color: rgb(106, 117, 21);
/* oklch */ color: oklch(53.5% 0.115 116.3);
Tailwind
colors: {
  custom: {
    50: '#989c5c',
    500: '#6a7515',
    950: '#000000',
  },
}
SCSS
$custom: #6a7515;
$custom-light: #989c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7515",
  "rgb": {
    "r": 106,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 66.875,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.53538,
    "c": 0.11458,
    "h": 116.3
  },
  "luminance": 0.15841
}

Semantic roles & 50–950 ramp

primary
#6A7515
secondary
#483BAB
accent
#3BEC50
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6A7515

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

Preview Lab → · Contrast checker → · Palette generator →

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