#6D6917#6D6917

#6D6917 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.9% C 0.099 H 106.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#6D6917
RGBrgb(109, 105, 23)
HSLhsl(57, 65%, 26%)
HSVhsv(57, 79%, 43%)
CMYKcmyk(0%, 3.7%, 78.9%, 57.3%)
CIE-LABlab(43.38, -8.57, 43.40)
CIE-LCHlch(43.38, 44.24, 101.17°)
OKLaboklab(50.9% -0.0283 0.0952)
OKLCHoklch(50.9% 0.099 106.6)
XYZxyz(11.5134, 13.4166, 2.7936)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D6917 #171B6D
analogous
#6D3E17 #6D6917 #466D17
triadic
#6D6917 #176D69 #69176D
tetradic
#6D6917 #176D3E #171B6D #6D1746
square
#6D6917 #176D3E #171B6D #6D1746
split-complementary
#6D6917 #17466D #3E176D
monochromatic
#191805 #3A380C #6D6917 #A09A22 #D2CA2C

Accessibility & contrast

On white

5.70
#6D6917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#6D6917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D6917
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D6917#FFFFFF#000000##FFFFFF
##6D69171.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736505
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#766159
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6d6917;
/* rgb */ color: rgb(109, 105, 23);
/* oklch */ color: oklch(50.9% 0.099 106.6);
Tailwind
colors: {
  custom: {
    50: '#9a935b',
    500: '#6d6917',
    950: '#000000',
  },
}
SCSS
$custom: #6d6917;
$custom-light: #9a935b;
$custom-dark: #000000;
JSON
{
  "hex": "#6d6917",
  "rgb": {
    "r": 109,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 57.209,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.509,
    "c": 0.09928,
    "h": 106.6
  },
  "luminance": 0.13416
}

Semantic roles & 50–950 ramp

primary
#6D6917
secondary
#3D42A3
accent
#48E840
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6D6917

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

Preview Lab → · Contrast checker → · Palette generator →

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