#6D7218#6D7218

#6D7218 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.1% C 0.108 H 112.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6D7218
RGBrgb(109, 114, 24)
HSLhsl(63, 65%, 27%)
HSVhsv(63, 79%, 45%)
CMYKcmyk(4.4%, 0%, 78.9%, 55.3%)
CIE-LABlab(46.11, -13.53, 45.57)
CIE-LCHlch(46.11, 47.54, 106.54°)
OKLaboklab(53.08% -0.042 0.1)
OKLCHoklch(53.08% 0.108 112.8)
XYZxyz(12.4893, 15.3521, 3.1693)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7218 #1D1872
analogous
#724A18 #6D7218 #407218
triadic
#6D7218 #186D72 #72186D
tetradic
#6D7218 #18724A #1D1872 #721840
square
#6D7218 #18724A #1D1872 #721840
split-complementary
#6D7218 #184072 #4A1872
monochromatic
#181905 #3D3F0D #6D7218 #9DA523 #CBD431

Accessibility & contrast

On white

5.16
#6D7218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6D7218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7218
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7218#FFFFFF#000000##FFFFFF
##6D72181.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C03
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#756B61
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6d7218;
/* rgb */ color: rgb(109, 114, 24);
/* oklch */ color: oklch(53.1% 0.108 112.8);
Tailwind
colors: {
  custom: {
    50: '#9a9a5d',
    500: '#6d7218',
    950: '#000000',
  },
}
SCSS
$custom: #6d7218;
$custom-light: #9a9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7218",
  "rgb": {
    "r": 109,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 63.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.53082,
    "c": 0.10845,
    "h": 112.8
  },
  "luminance": 0.15352
}

Semantic roles & 50–950 ramp

primary
#6D7218
secondary
#443EA7
accent
#40E849
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7218

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

Preview Lab → · Contrast checker → · Palette generator →

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