#6D7019#6D7019

#6D7019 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.6% C 0.106 H 111.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6D7019
RGBrgb(109, 112, 25)
HSLhsl(62, 64%, 27%)
HSVhsv(62, 78%, 44%)
CMYKcmyk(2.7%, 0%, 77.7%, 56.1%)
CIE-LABlab(45.51, -12.39, 44.65)
CIE-LCHlch(45.51, 46.34, 105.50°)
OKLaboklab(52.6% -0.0388 0.0982)
OKLCHoklch(52.6% 0.106 111.5)
XYZxyz(12.2767, 14.9101, 3.1507)
Luminance0.1491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7019 #1C1970
analogous
#704819 #6D7019 #427019
triadic
#6D7019 #196D70 #70196D
tetradic
#6D7019 #197048 #1C1970 #701942
square
#6D7019 #197048 #1C1970 #701942
split-complementary
#6D7019 #194270 #481970
monochromatic
#181906 #3C3E0E #6D7019 #9EA224 #CCD132

Accessibility & contrast

On white

5.27
#6D7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6D7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7019
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7019#FFFFFF#000000##FFFFFF
##6D70191.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B06
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#756960
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6d7019;
/* rgb */ color: rgb(109, 112, 25);
/* oklch */ color: oklch(52.6% 0.106 111.5);
Tailwind
colors: {
  custom: {
    50: '#9a985d',
    500: '#6d7019',
    950: '#000000',
  },
}
SCSS
$custom: #6d7019;
$custom-light: #9a985d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7019",
  "rgb": {
    "r": 109,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 62.069,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52602,
    "c": 0.10559,
    "h": 111.5
  },
  "luminance": 0.1491
}

Semantic roles & 50–950 ramp

primary
#6D7019
secondary
#4340A5
accent
#41E747
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6D7019

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

Preview Lab → · Contrast checker → · Palette generator →

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