#6A7A16#6A7A16

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

Color values

HEX#6A7A16
RGBrgb(106, 122, 22)
HSLhsl(70, 69%, 28%)
HSVhsv(70, 82%, 48%)
CMYKcmyk(13.1%, 0%, 82%, 52.2%)
CIE-LABlab(48.31, -19.27, 48.15)
CIE-LCHlch(48.31, 51.86, 111.82°)
OKLaboklab(54.78% -0.0579 0.1052)
OKLCHoklch(54.78% 0.12 118.8)
XYZxyz(13.0485, 17.0413, 3.3608)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7A16 #26167A
analogous
#7A5816 #6A7A16 #387A16
triadic
#6A7A16 #166A7A #7A166A
tetradic
#6A7A16 #167A58 #26167A #7A1638
square
#6A7A16 #167A58 #26167A #7A1638
split-complementary
#6A7A16 #16387A #58167A
monochromatic
#171A05 #3D460D #6A7A16 #97AE1F #BFDA31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A7A16#FFFFFF#000000##FFFFFF
##6A7A161.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)
#837300
Deuteranopia (green-blind)
#817320
Tritanopia (blue-blind)
#717368
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a7a16;
/* rgb */ color: rgb(106, 122, 22);
/* oklch */ color: oklch(54.8% 0.120 118.8);
Tailwind
colors: {
  custom: {
    50: '#98a05d',
    500: '#6a7a16',
    950: '#000000',
  },
}
SCSS
$custom: #6a7a16;
$custom-light: #98a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7a16",
  "rgb": {
    "r": 106,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 69.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54784,
    "c": 0.12005,
    "h": 118.8
  },
  "luminance": 0.17041
}

Semantic roles & 50–950 ramp

primary
#6A7A16
secondary
#4F3DAF
accent
#3CEC58
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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