#6C7A14#6C7A14

#6C7A14 is a mid, vivid yellow. Relative luminance 0.172; OKLCH L 54.9% C 0.120 H 117.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6C7A14
RGBrgb(108, 122, 20)
HSLhsl(68, 72%, 28%)
HSVhsv(68, 84%, 48%)
CMYKcmyk(11.5%, 0%, 83.6%, 52.2%)
CIE-LABlab(48.46, -18.45, 48.94)
CIE-LCHlch(48.46, 52.30, 110.65°)
OKLaboklab(54.94% -0.0559 0.1064)
OKLCHoklch(54.94% 0.12 117.7)
XYZxyz(13.2705, 17.1579, 3.2744)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7A14 #22147A
analogous
#7A5514 #6C7A14 #397A14
triadic
#6C7A14 #146C7A #7A146C
tetradic
#6C7A14 #147A55 #22147A #7A1439
square
#6C7A14 #147A55 #22147A #7A1439
split-complementary
#6C7A14 #14397A #55147A
monochromatic
#171A04 #3D450B #6C7A14 #9BAF1D #C4DC2C

Accessibility & contrast

On white

4.74
#6C7A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#6C7A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7A14
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7A14#FFFFFF#000000##FFFFFF
##6C7A141.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#81741F
Tritanopia (blue-blind)
#737368
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6c7a14;
/* rgb */ color: rgb(108, 122, 20);
/* oklch */ color: oklch(54.9% 0.120 117.7);
Tailwind
colors: {
  custom: {
    50: '#99a05d',
    500: '#6c7a14',
    950: '#000000',
  },
}
SCSS
$custom: #6c7a14;
$custom-light: #99a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7a14",
  "rgb": {
    "r": 108,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 68.235,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54938,
    "c": 0.12021,
    "h": 117.7
  },
  "luminance": 0.17158
}

Semantic roles & 50–950 ramp

primary
#6C7A14
secondary
#4A3AB0
accent
#39EF52
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6C7A14

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

Preview Lab → · Contrast checker → · Palette generator →

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