#6D7612#6D7612

#6D7612 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.0% C 0.116 H 115.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#6D7612
RGBrgb(109, 118, 18)
HSLhsl(65, 74%, 27%)
HSVhsv(65, 85%, 46%)
CMYKcmyk(7.6%, 0%, 84.7%, 53.7%)
CIE-LABlab(47.30, -15.94, 48.54)
CIE-LCHlch(47.30, 51.09, 108.18°)
OKLaboklab(54.03% -0.0492 0.1052)
OKLCHoklch(54.03% 0.116 115.1)
XYZxyz(12.8947, 16.2520, 3.0298)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7612 #1B1276
analogous
#764D12 #6D7612 #3B7612
triadic
#6D7612 #126D76 #76126D
tetradic
#6D7612 #12764D #1B1276 #76123B
square
#6D7612 #12764D #1B1276 #76123B
split-complementary
#6D7612 #123B76 #4D1276
monochromatic
#191B04 #3C410A #6D7612 #9EAB1A #CDDE25

Accessibility & contrast

On white

4.94
#6D7612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#6D7612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7612
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7612#FFFFFF#000000##FFFFFF
##6D76121.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#7F711C
Tritanopia (blue-blind)
#756F64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6d7612;
/* rgb */ color: rgb(109, 118, 18);
/* oklch */ color: oklch(54.0% 0.116 115.1);
Tailwind
colors: {
  custom: {
    50: '#9a9d5b',
    500: '#6d7612',
    950: '#000000',
  },
}
SCSS
$custom: #6d7612;
$custom-light: #9a9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7612",
  "rgb": {
    "r": 109,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 65.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.54027,
    "c": 0.1161,
    "h": 115.1
  },
  "luminance": 0.16252
}

Semantic roles & 50–950 ramp

primary
#6D7612
secondary
#4237AD
accent
#38F048
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6D7612

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

Preview Lab → · Contrast checker → · Palette generator →

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