#6A7A17#6A7A17

#6A7A17 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 54.8% C 0.120 H 118.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#6A7A17
RGBrgb(106, 122, 23)
HSLhsl(70, 68%, 28%)
HSVhsv(70, 81%, 48%)
CMYKcmyk(13.1%, 0%, 81.1%, 52.2%)
CIE-LABlab(48.32, -19.23, 47.83)
CIE-LCHlch(48.32, 51.55, 111.90°)
OKLaboklab(54.79% -0.0577 0.1047)
OKLCHoklch(54.79% 0.12 118.9)
XYZxyz(13.0583, 17.0452, 3.4126)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7A17 #27177A
analogous
#7A5817 #6A7A17 #387A17
triadic
#6A7A17 #176A7A #7A176A
tetradic
#6A7A17 #177A58 #27177A #7A1738
square
#6A7A17 #177A58 #27177A #7A1738
split-complementary
#6A7A17 #17387A #58177A
monochromatic
#161A05 #3D470D #6A7A17 #97AD21 #BED933

Accessibility & contrast

On white

4.76
#6A7A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#6A7A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7A17
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7A17#FFFFFF#000000##FFFFFF
##6A7A171.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#817321
Tritanopia (blue-blind)
#717368
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a7a17;
/* rgb */ color: rgb(106, 122, 23);
/* oklch */ color: oklch(54.8% 0.120 118.9);
Tailwind
colors: {
  custom: {
    50: '#98a05e',
    500: '#6a7a17',
    950: '#000000',
  },
}
SCSS
$custom: #6a7a17;
$custom-light: #98a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7a17",
  "rgb": {
    "r": 106,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 69.697,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5479,
    "c": 0.11954,
    "h": 118.9
  },
  "luminance": 0.17045
}

Semantic roles & 50–950 ramp

primary
#6A7A17
secondary
#503EAF
accent
#3DEB59
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A7A17

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

Preview Lab → · Contrast checker → · Palette generator →

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