#6B7B16#6B7B16

#6B7B16 is a mid, vivid yellow. Relative luminance 0.173; OKLCH L 55.1% C 0.121 H 118.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#6B7B16
RGBrgb(107, 123, 22)
HSLhsl(70, 70%, 28%)
HSVhsv(70, 82%, 48%)
CMYKcmyk(13%, 0%, 82.1%, 51.8%)
CIE-LABlab(48.70, -19.34, 48.52)
CIE-LCHlch(48.70, 52.23, 111.73°)
OKLaboklab(55.11% -0.0581 0.1059)
OKLCHoklch(55.11% 0.121 118.8)
XYZxyz(13.2915, 17.3497, 3.4075)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7B16 #26167B
analogous
#7B5816 #6B7B16 #387B16
triadic
#6B7B16 #166B7B #7B166B
tetradic
#6B7B16 #167B58 #26167B #7B1638
square
#6B7B16 #167B58 #26167B #7B1638
split-complementary
#6B7B16 #16387B #58167B
monochromatic
#171A05 #3E470D #6B7B16 #98AF1F #BFDA31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B7B16#FFFFFF#000000##FFFFFF
##6B7B161.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)
#847400
Deuteranopia (green-blind)
#827420
Tritanopia (blue-blind)
#727469
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6b7b16;
/* rgb */ color: rgb(107, 123, 22);
/* oklch */ color: oklch(55.1% 0.121 118.8);
Tailwind
colors: {
  custom: {
    50: '#99a15e',
    500: '#6b7b16',
    950: '#000000',
  },
}
SCSS
$custom: #6b7b16;
$custom-light: #99a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7b16",
  "rgb": {
    "r": 107,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 69.505,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55114,
    "c": 0.12084,
    "h": 118.8
  },
  "luminance": 0.1735
}

Semantic roles & 50–950 ramp

primary
#6B7B16
secondary
#4F3DB0
accent
#3BEC57
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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