#6A7015#6A7015

#6A7015 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.3% C 0.109 H 113.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6A7015
RGBrgb(106, 112, 21)
HSLhsl(64, 68%, 26%)
HSVhsv(64, 81%, 44%)
CMYKcmyk(5.4%, 0%, 81.2%, 56.1%)
CIE-LABlab(45.23, -13.97, 45.69)
CIE-LCHlch(45.23, 47.78, 107.01°)
OKLaboklab(52.31% -0.0434 0.0998)
OKLCHoklch(52.31% 0.109 113.5)
XYZxyz(11.8738, 14.7069, 2.9226)
Luminance0.1471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7015 #1B1570
analogous
#704815 #6A7015 #3C7015
triadic
#6A7015 #156A70 #70156A
tetradic
#6A7015 #157048 #1B1570 #70153C
square
#6A7015 #157048 #1B1570 #70153C
split-complementary
#6A7015 #153C70 #481570
monochromatic
#181A05 #393C0B #6A7015 #9BA41F #CBD729

Accessibility & contrast

On white

5.33
#6A7015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#6A7015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7015
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7015#FFFFFF#000000##FFFFFF
##6A70151.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#796C1D
Tritanopia (blue-blind)
#72695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6a7015;
/* rgb */ color: rgb(106, 112, 21);
/* oklch */ color: oklch(52.3% 0.109 113.5);
Tailwind
colors: {
  custom: {
    50: '#98985b',
    500: '#6a7015',
    950: '#000000',
  },
}
SCSS
$custom: #6a7015;
$custom-light: #98985b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7015",
  "rgb": {
    "r": 106,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 63.956,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52306,
    "c": 0.10877,
    "h": 113.5
  },
  "luminance": 0.14707
}

Semantic roles & 50–950 ramp

primary
#6A7015
secondary
#423BA6
accent
#3DEB48
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A7015

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

Preview Lab → · Contrast checker → · Palette generator →

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