#6D7015#6D7015

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

Color values

HEX#6D7015
RGBrgb(109, 112, 21)
HSLhsl(62, 68%, 26%)
HSVhsv(62, 81%, 44%)
CMYKcmyk(2.7%, 0%, 81.2%, 56.1%)
CIE-LABlab(45.49, -12.57, 46.02)
CIE-LCHlch(45.49, 47.70, 105.27°)
OKLaboklab(52.58% -0.0396 0.1003)
OKLCHoklch(52.58% 0.108 111.6)
XYZxyz(12.2366, 14.8940, 2.9396)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7015 #181570
analogous
#704515 #6D7015 #3F7015
triadic
#6D7015 #156D70 #70156D
tetradic
#6D7015 #157045 #181570 #70153F
square
#6D7015 #157045 #181570 #70153F
split-complementary
#6D7015 #153F70 #451570
monochromatic
#191A05 #3B3C0B #6D7015 #9FA41F #D1D729

Accessibility & contrast

On white

5.28
#6D7015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D7015
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7015#FFFFFF#000000##FFFFFF
##6D70151.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B00
Deuteranopia (green-blind)
#7A6D1D
Tritanopia (blue-blind)
#75695F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6d7015;
/* rgb */ color: rgb(109, 112, 21);
/* oklch */ color: oklch(52.6% 0.108 111.6);
Tailwind
colors: {
  custom: {
    50: '#9a985b',
    500: '#6d7015',
    950: '#000000',
  },
}
SCSS
$custom: #6d7015;
$custom-light: #9a985b;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7015",
  "rgb": {
    "r": 109,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 61.978,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52577,
    "c": 0.10787,
    "h": 111.6
  },
  "luminance": 0.14894
}

Semantic roles & 50–950 ramp

primary
#6D7015
secondary
#3E3BA6
accent
#3DEB42
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6D7015

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

Preview Lab → · Contrast checker → · Palette generator →

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