#6E7C12#6E7C12

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

Color values

HEX#6E7C12
RGBrgb(110, 124, 18)
HSLhsl(68, 75%, 28%)
HSVhsv(68, 85%, 49%)
CMYKcmyk(11.3%, 0%, 85.5%, 51.4%)
CIE-LABlab(49.22, -18.66, 50.23)
CIE-LCHlch(49.22, 53.58, 110.38°)
OKLaboklab(55.59% -0.0567 0.1088)
OKLCHoklch(55.59% 0.123 117.5)
XYZxyz(13.7476, 17.7741, 3.2787)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7C12 #20127C
analogous
#7C5512 #6E7C12 #397C12
triadic
#6E7C12 #126E7C #7C126E
tetradic
#6E7C12 #127C55 #20127C #7C1239
square
#6E7C12 #127C55 #20127C #7C1239
split-complementary
#6E7C12 #12397C #55127C
monochromatic
#181B04 #3F470A #6E7C12 #9DB11A #C8E029

Accessibility & contrast

On white

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

On black

4.55
#6E7C12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6E7C12#FFFFFF#000000##FFFFFF
##6E7C121.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e7c12;
/* rgb */ color: rgb(110, 124, 18);
/* oklch */ color: oklch(55.6% 0.123 117.5);
Tailwind
colors: {
  custom: {
    50: '#9ba15c',
    500: '#6e7c12',
    950: '#000000',
  },
}
SCSS
$custom: #6e7c12;
$custom-light: #9ba15c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7c12",
  "rgb": {
    "r": 110,
    "g": 124,
    "b": 18
  },
  "hsl": {
    "h": 67.925,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.55589,
    "c": 0.12266,
    "h": 117.5
  },
  "luminance": 0.17774
}

Semantic roles & 50–950 ramp

primary
#6E7C12
secondary
#4838B2
accent
#37F14F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6E7C12

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

Preview Lab → · Contrast checker → · Palette generator →

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