#6C7019#6C7019

#6C7019 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.5% C 0.106 H 112.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6C7019
RGBrgb(108, 112, 25)
HSLhsl(63, 64%, 27%)
HSVhsv(63, 78%, 44%)
CMYKcmyk(3.6%, 0%, 77.7%, 56.1%)
CIE-LABlab(45.42, -12.85, 44.54)
CIE-LCHlch(45.42, 46.36, 106.10°)
OKLaboklab(52.51% -0.04 0.098)
OKLCHoklch(52.51% 0.106 112.2)
XYZxyz(12.1544, 14.8470, 3.1450)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7019 #1D1970
analogous
#704919 #6C7019 #417019
triadic
#6C7019 #196C70 #70196C
tetradic
#6C7019 #197049 #1D1970 #701941
square
#6C7019 #197049 #1D1970 #701941
split-complementary
#6C7019 #194170 #491970
monochromatic
#181906 #3C3E0E #6C7019 #9CA224 #CAD132

Accessibility & contrast

On white

5.29
#6C7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6C7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7019
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7019#FFFFFF#000000##FFFFFF
##6C70191.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A06
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#74695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6c7019;
/* rgb */ color: rgb(108, 112, 25);
/* oklch */ color: oklch(52.5% 0.106 112.2);
Tailwind
colors: {
  custom: {
    50: '#99985d',
    500: '#6c7019',
    950: '#000000',
  },
}
SCSS
$custom: #6c7019;
$custom-light: #99985d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7019",
  "rgb": {
    "r": 108,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 62.759,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52511,
    "c": 0.10587,
    "h": 112.2
  },
  "luminance": 0.14847
}

Semantic roles & 50–950 ramp

primary
#6C7019
secondary
#4440A5
accent
#41E749
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6C7019

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

Preview Lab → · Contrast checker → · Palette generator →

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