#6E7C13#6E7C13

#6E7C13 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#6E7C13
RGBrgb(110, 124, 19)
HSLhsl(68, 73%, 28%)
HSVhsv(68, 85%, 49%)
CMYKcmyk(11.3%, 0%, 84.7%, 51.4%)
CIE-LABlab(49.23, -18.63, 49.96)
CIE-LCHlch(49.23, 53.32, 110.45°)
OKLaboklab(55.59% -0.0566 0.1084)
OKLCHoklch(55.59% 0.122 117.6)
XYZxyz(13.7560, 17.7775, 3.3227)
Luminance0.1778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7C13 #21137C
analogous
#7C5513 #6E7C13 #397C13
triadic
#6E7C13 #136E7C #7C136E
tetradic
#6E7C13 #137C55 #21137C #7C1339
square
#6E7C13 #137C55 #21137C #7C1339
split-complementary
#6E7C13 #13397C #55137C
monochromatic
#181B04 #3F470B #6E7C13 #9DB11B #C7DF2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E7C13#FFFFFF#000000##FFFFFF
##6E7C131.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)
#84761E
Tritanopia (blue-blind)
#757569
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6e7c13;
/* rgb */ color: rgb(110, 124, 19);
/* oklch */ color: oklch(55.6% 0.122 117.6);
Tailwind
colors: {
  custom: {
    50: '#9ba15d',
    500: '#6e7c13',
    950: '#000000',
  },
}
SCSS
$custom: #6e7c13;
$custom-light: #9ba15d;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7c13",
  "rgb": {
    "r": 110,
    "g": 124,
    "b": 19
  },
  "hsl": {
    "h": 68,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55593,
    "c": 0.12222,
    "h": 117.6
  },
  "luminance": 0.17777
}

Semantic roles & 50–950 ramp

primary
#6E7C13
secondary
#4939B2
accent
#38F050
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6E7C13

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

Preview Lab → · Contrast checker → · Palette generator →

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