#6C7015#6C7015

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

Color values

HEX#6C7015
RGBrgb(108, 112, 21)
HSLhsl(63, 68%, 26%)
HSVhsv(63, 81%, 44%)
CMYKcmyk(3.6%, 0%, 81.2%, 56.1%)
CIE-LABlab(45.40, -13.04, 45.91)
CIE-LCHlch(45.40, 47.72, 105.85°)
OKLaboklab(52.49% -0.0409 0.1001)
OKLCHoklch(52.49% 0.108 112.2)
XYZxyz(12.1143, 14.8309, 2.9338)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7015 #191570
analogous
#704615 #6C7015 #3E7015
triadic
#6C7015 #156C70 #70156C
tetradic
#6C7015 #157046 #191570 #70153E
square
#6C7015 #157046 #191570 #70153E
split-complementary
#6C7015 #153E70 #461570
monochromatic
#191A05 #3A3C0B #6C7015 #9EA41F #CFD729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C7015#FFFFFF#000000##FFFFFF
##6C70151.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)
#796A00
Deuteranopia (green-blind)
#796C1D
Tritanopia (blue-blind)
#74695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6c7015;
/* rgb */ color: rgb(108, 112, 21);
/* oklch */ color: oklch(52.5% 0.108 112.2);
Tailwind
colors: {
  custom: {
    50: '#99985b',
    500: '#6c7015',
    950: '#000000',
  },
}
SCSS
$custom: #6c7015;
$custom-light: #99985b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7015",
  "rgb": {
    "r": 108,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 62.637,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52486,
    "c": 0.10816,
    "h": 112.2
  },
  "luminance": 0.14831
}

Semantic roles & 50–950 ramp

primary
#6C7015
secondary
#3F3BA6
accent
#3DEB44
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6C7015

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

Preview Lab → · Contrast checker → · Palette generator →

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