#6D7B16#6D7B16

#6D7B16 is a mid, vivid yellow. Relative luminance 0.175; OKLCH L 55.3% C 0.120 H 117.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6D7B16
RGBrgb(109, 123, 22)
HSLhsl(68, 70%, 28%)
HSVhsv(68, 82%, 48%)
CMYKcmyk(11.4%, 0%, 82.1%, 51.8%)
CIE-LABlab(48.85, -18.44, 48.72)
CIE-LCHlch(48.85, 52.09, 110.73°)
OKLaboklab(55.28% -0.0558 0.1063)
OKLCHoklch(55.28% 0.12 117.7)
XYZxyz(13.5348, 17.4752, 3.4189)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7B16 #24167B
analogous
#7B5616 #6D7B16 #3A7B16
triadic
#6D7B16 #166D7B #7B166D
tetradic
#6D7B16 #167B56 #24167B #7B163A
square
#6D7B16 #167B56 #24167B #7B163A
split-complementary
#6D7B16 #163A7B #56167B
monochromatic
#171A05 #3F470D #6D7B16 #9BAF1F #C3DA31

Accessibility & contrast

On white

4.67
#6D7B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#6D7B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7B16
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7B16#FFFFFF#000000##FFFFFF
##6D7B161.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#827520
Tritanopia (blue-blind)
#747469
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6d7b16;
/* rgb */ color: rgb(109, 123, 22);
/* oklch */ color: oklch(55.3% 0.120 117.7);
Tailwind
colors: {
  custom: {
    50: '#9aa15e',
    500: '#6d7b16',
    950: '#000000',
  },
}
SCSS
$custom: #6d7b16;
$custom-light: #9aa15e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7b16",
  "rgb": {
    "r": 109,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 68.317,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55279,
    "c": 0.12003,
    "h": 117.7
  },
  "luminance": 0.17475
}

Semantic roles & 50–950 ramp

primary
#6D7B16
secondary
#4D3DB0
accent
#3BEC54
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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