#6C7D13#6C7D13

#6C7D13 is a mid, vivid yellow. Relative luminance 0.179; OKLCH L 55.7% C 0.124 H 119.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#6C7D13
RGBrgb(108, 125, 19)
HSLhsl(70, 74%, 28%)
HSVhsv(70, 85%, 49%)
CMYKcmyk(13.6%, 0%, 84.8%, 51%)
CIE-LABlab(49.38, -20.05, 50.03)
CIE-LCHlch(49.38, 53.90, 111.84°)
OKLaboklab(55.68% -0.0603 0.1086)
OKLCHoklch(55.68% 0.124 119.1)
XYZxyz(13.6358, 17.9025, 3.3532)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7D13 #24137D
analogous
#7D5913 #6C7D13 #377D13
triadic
#6C7D13 #136C7D #7D136C
tetradic
#6C7D13 #137D59 #24137D #7D1337
square
#6C7D13 #137D59 #24137D #7D1337
split-complementary
#6C7D13 #13377D #59137D
monochromatic
#171B04 #3E480B #6C7D13 #9AB21B #C2DF2C

Accessibility & contrast

On white

4.58
#6C7D13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#6C7D13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C7D13
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7D13#FFFFFF#000000##000000
##6C7D131.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#84761F
Tritanopia (blue-blind)
#73766A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6c7d13;
/* rgb */ color: rgb(108, 125, 19);
/* oklch */ color: oklch(55.7% 0.124 119.1);
Tailwind
colors: {
  custom: {
    50: '#99a25d',
    500: '#6c7d13',
    950: '#000000',
  },
}
SCSS
$custom: #6c7d13;
$custom-light: #99a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7d13",
  "rgb": {
    "r": 108,
    "g": 125,
    "b": 19
  },
  "hsl": {
    "h": 69.623,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55677,
    "c": 0.12422,
    "h": 119.1
  },
  "luminance": 0.17902
}

Semantic roles & 50–950 ramp

primary
#6C7D13
secondary
#4D39B3
accent
#38F055
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6C7D13

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

Preview Lab → · Contrast checker → · Palette generator →

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