#6F7A16#6F7A16

#6F7A16 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.2% C 0.118 H 116.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#6F7A16
RGBrgb(111, 122, 22)
HSLhsl(67, 69%, 28%)
HSVhsv(67, 82%, 48%)
CMYKcmyk(9%, 0%, 82%, 52.2%)
CIE-LABlab(48.71, -17.00, 48.65)
CIE-LCHlch(48.71, 51.53, 109.26°)
OKLaboklab(55.2% -0.0519 0.1061)
OKLCHoklch(55.2% 0.118 116.1)
XYZxyz(13.6603, 17.3567, 3.3895)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7A16 #21167A
analogous
#7A5316 #6F7A16 #3D7A16
triadic
#6F7A16 #166F7A #7A166F
tetradic
#6F7A16 #167A53 #21167A #7A163D
square
#6F7A16 #167A53 #21167A #7A163D
split-complementary
#6F7A16 #163D7A #53167A
monochromatic
#181A05 #40460D #6F7A16 #9EAE1F #C7DA31

Accessibility & contrast

On white

4.70
#6F7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#6F7A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7A16
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7A16#FFFFFF#000000##FFFFFF
##6F7A161.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#827420
Tritanopia (blue-blind)
#777368
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6f7a16;
/* rgb */ color: rgb(111, 122, 22);
/* oklch */ color: oklch(55.2% 0.118 116.1);
Tailwind
colors: {
  custom: {
    50: '#9ca05d',
    500: '#6f7a16',
    950: '#000000',
  },
}
SCSS
$custom: #6f7a16;
$custom-light: #9ca05d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7a16",
  "rgb": {
    "r": 111,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 66.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.552,
    "c": 0.11809,
    "h": 116.1
  },
  "luminance": 0.17357
}

Semantic roles & 50–950 ramp

primary
#6F7A16
secondary
#493DAF
accent
#3CEC4F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #6F7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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