#6B7A16#6B7A16

#6B7A16 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 54.9% C 0.120 H 118.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#6B7A16
RGBrgb(107, 122, 22)
HSLhsl(69, 69%, 28%)
HSVhsv(69, 82%, 48%)
CMYKcmyk(12.3%, 0%, 82%, 52.2%)
CIE-LABlab(48.39, -18.82, 48.24)
CIE-LCHlch(48.39, 51.79, 111.31°)
OKLaboklab(54.87% -0.0567 0.1054)
OKLCHoklch(54.87% 0.12 118.3)
XYZxyz(13.1681, 17.1029, 3.3664)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7A16 #25167A
analogous
#7A5716 #6B7A16 #397A16
triadic
#6B7A16 #166B7A #7A166B
tetradic
#6B7A16 #167A57 #25167A #7A1639
square
#6B7A16 #167A57 #25167A #7A1639
split-complementary
#6B7A16 #16397A #57167A
monochromatic
#171A05 #3E460D #6B7A16 #98AE1F #C0DA31

Accessibility & contrast

On white

4.75
#6B7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#6B7A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7A16
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7A16#FFFFFF#000000##FFFFFF
##6B7A161.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#817320
Tritanopia (blue-blind)
#727368
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6b7a16;
/* rgb */ color: rgb(107, 122, 22);
/* oklch */ color: oklch(54.9% 0.120 118.3);
Tailwind
colors: {
  custom: {
    50: '#99a05d',
    500: '#6b7a16',
    950: '#000000',
  },
}
SCSS
$custom: #6b7a16;
$custom-light: #99a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7a16",
  "rgb": {
    "r": 107,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 69,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54866,
    "c": 0.11964,
    "h": 118.3
  },
  "luminance": 0.17103
}

Semantic roles & 50–950 ramp

primary
#6B7A16
secondary
#4E3DAF
accent
#3CEC56
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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