#6E7C14#6E7C14

#6E7C14 is a mid, vivid yellow. Relative luminance 0.178; OKLCH L 55.6% C 0.122 H 117.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#6E7C14
RGBrgb(110, 124, 20)
HSLhsl(68, 72%, 28%)
HSVhsv(68, 84%, 49%)
CMYKcmyk(11.3%, 0%, 83.9%, 51.4%)
CIE-LABlab(49.23, -18.59, 49.68)
CIE-LCHlch(49.23, 53.04, 110.52°)
OKLaboklab(55.6% -0.0564 0.1079)
OKLCHoklch(55.6% 0.122 117.6)
XYZxyz(13.7647, 17.7810, 3.3686)
Luminance0.1778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7C14 #22147C
analogous
#7C5614 #6E7C14 #3A7C14
triadic
#6E7C14 #146E7C #7C146E
tetradic
#6E7C14 #147C56 #22147C #7C143A
square
#6E7C14 #147C56 #22147C #7C143A
split-complementary
#6E7C14 #143A7C #56147C
monochromatic
#171A04 #3F470B #6E7C14 #9DB11D #C5DD2D

Accessibility & contrast

On white

4.61
#6E7C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#6E7C14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7C14
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7C14#FFFFFF#000000##FFFFFF
##6E7C141.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#84761F
Tritanopia (blue-blind)
#757569
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6e7c14;
/* rgb */ color: rgb(110, 124, 20);
/* oklch */ color: oklch(55.6% 0.122 117.6);
Tailwind
colors: {
  custom: {
    50: '#9ba15d',
    500: '#6e7c14',
    950: '#000000',
  },
}
SCSS
$custom: #6e7c14;
$custom-light: #9ba15d;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7c14",
  "rgb": {
    "r": 110,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 68.077,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55598,
    "c": 0.12177,
    "h": 117.6
  },
  "luminance": 0.17781
}

Semantic roles & 50–950 ramp

primary
#6E7C14
secondary
#4A3AB2
accent
#39EF51
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6E7C14

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

Preview Lab → · Contrast checker → · Palette generator →

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