#6A7715#6A7715

#6A7715 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.0% C 0.117 H 117.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#6A7715
RGBrgb(106, 119, 21)
HSLhsl(68, 70%, 27%)
HSVhsv(68, 82%, 47%)
CMYKcmyk(10.9%, 0%, 82.4%, 53.3%)
CIE-LABlab(47.38, -17.74, 47.62)
CIE-LCHlch(47.38, 50.82, 110.43°)
OKLaboklab(54.03% -0.0537 0.1039)
OKLCHoklch(54.03% 0.117 117.4)
XYZxyz(12.6764, 16.3121, 3.1901)
Luminance0.1631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7715 #221577
analogous
#775315 #6A7715 #397715
triadic
#6A7715 #156A77 #77156A
tetradic
#6A7715 #157753 #221577 #771539
square
#6A7715 #157753 #221577 #771539
split-complementary
#6A7715 #153977 #531577
monochromatic
#171A05 #3C430C #6A7715 #98AB1E #C3DA2D

Accessibility & contrast

On white

4.93
#6A7715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#6A7715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7715
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7715#FFFFFF#000000##FFFFFF
##6A77151.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#7E711F
Tritanopia (blue-blind)
#717065
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6a7715;
/* rgb */ color: rgb(106, 119, 21);
/* oklch */ color: oklch(54.0% 0.117 117.4);
Tailwind
colors: {
  custom: {
    50: '#989e5c',
    500: '#6a7715',
    950: '#000000',
  },
}
SCSS
$custom: #6a7715;
$custom-light: #989e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7715",
  "rgb": {
    "r": 106,
    "g": 119,
    "b": 21
  },
  "hsl": {
    "h": 67.959,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.54034,
    "c": 0.11696,
    "h": 117.4
  },
  "luminance": 0.16312
}

Semantic roles & 50–950 ramp

primary
#6A7715
secondary
#4A3BAD
accent
#3BED53
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6A7715

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

Preview Lab → · Contrast checker → · Palette generator →

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