#6D7018#6D7018

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

Color values

HEX#6D7018
RGBrgb(109, 112, 24)
HSLhsl(62, 65%, 27%)
HSVhsv(62, 79%, 44%)
CMYKcmyk(2.7%, 0%, 78.6%, 56.1%)
CIE-LABlab(45.50, -12.43, 45.01)
CIE-LCHlch(45.50, 46.69, 105.44°)
OKLaboklab(52.6% -0.039 0.0988)
OKLCHoklch(52.6% 0.106 111.5)
XYZxyz(12.2661, 14.9058, 3.0949)
Luminance0.1490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7018 #1B1870
analogous
#704718 #6D7018 #417018
triadic
#6D7018 #186D70 #70186D
tetradic
#6D7018 #187047 #1B1870 #701841
square
#6D7018 #187047 #1B1870 #701841
split-complementary
#6D7018 #184170 #471870
monochromatic
#191905 #3C3E0D #6D7018 #9EA223 #CDD330

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D7018#FFFFFF#000000##FFFFFF
##6D70181.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)
#796B04
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#75695F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6d7018;
/* rgb */ color: rgb(109, 112, 24);
/* oklch */ color: oklch(52.6% 0.106 111.5);
Tailwind
colors: {
  custom: {
    50: '#9a985d',
    500: '#6d7018',
    950: '#000000',
  },
}
SCSS
$custom: #6d7018;
$custom-light: #9a985d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7018",
  "rgb": {
    "r": 109,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 62.045,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52595,
    "c": 0.10619,
    "h": 111.5
  },
  "luminance": 0.14905
}

Semantic roles & 50–950 ramp

primary
#6D7018
secondary
#423EA5
accent
#40E846
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6D7018

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

Preview Lab → · Contrast checker → · Palette generator →

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