#6E7018#6E7018

#6E7018 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 52.7% C 0.106 H 110.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6E7018
RGBrgb(110, 112, 24)
HSLhsl(61, 65%, 27%)
HSVhsv(61, 79%, 44%)
CMYKcmyk(1.8%, 0%, 78.6%, 56.1%)
CIE-LABlab(45.59, -11.96, 45.12)
CIE-LCHlch(45.59, 46.68, 104.85°)
OKLaboklab(52.69% -0.0377 0.099)
OKLCHoklch(52.69% 0.106 110.9)
XYZxyz(12.3899, 14.9696, 3.1007)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7018 #1A1870
analogous
#704618 #6E7018 #427018
triadic
#6E7018 #186E70 #70186E
tetradic
#6E7018 #187046 #1A1870 #701842
square
#6E7018 #187046 #1A1870 #701842
split-complementary
#6E7018 #184270 #461870
monochromatic
#191905 #3D3E0D #6E7018 #A0A223 #CFD330

Accessibility & contrast

On white

5.26
#6E7018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6E7018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7018
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7018#FFFFFF#000000##FFFFFF
##6E70181.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B04
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#76695F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6e7018;
/* rgb */ color: rgb(110, 112, 24);
/* oklch */ color: oklch(52.7% 0.106 110.9);
Tailwind
colors: {
  custom: {
    50: '#9b985d',
    500: '#6e7018',
    950: '#000000',
  },
}
SCSS
$custom: #6e7018;
$custom-light: #9b985d;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7018",
  "rgb": {
    "r": 110,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 61.364,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52687,
    "c": 0.10592,
    "h": 110.9
  },
  "luminance": 0.14969
}

Semantic roles & 50–950 ramp

primary
#6E7018
secondary
#413EA5
accent
#40E844
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6E7018

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

Preview Lab → · Contrast checker → · Palette generator →

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