#6C7914#6C7914

#6C7914 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 54.7% C 0.119 H 117.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#6C7914
RGBrgb(108, 121, 20)
HSLhsl(68, 72%, 28%)
HSVhsv(68, 83%, 47%)
CMYKcmyk(10.7%, 0%, 83.5%, 52.5%)
CIE-LABlab(48.15, -17.92, 48.67)
CIE-LCHlch(48.15, 51.86, 110.22°)
OKLaboklab(54.69% -0.0544 0.1059)
OKLCHoklch(54.69% 0.119 117.2)
XYZxyz(13.1483, 16.9136, 3.2337)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7914 #211479
analogous
#795414 #6C7914 #397914
triadic
#6C7914 #146C79 #79146C
tetradic
#6C7914 #147954 #211479 #791439
square
#6C7914 #147954 #211479 #791439
split-complementary
#6C7914 #143979 #541479
monochromatic
#171A04 #3D440B #6C7914 #9BAE1D #C5DC2B

Accessibility & contrast

On white

4.79
#6C7914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#6C7914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7914
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7914#FFFFFF#000000##FFFFFF
##6C79141.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#81731E
Tritanopia (blue-blind)
#737267
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6c7914;
/* rgb */ color: rgb(108, 121, 20);
/* oklch */ color: oklch(54.7% 0.119 117.2);
Tailwind
colors: {
  custom: {
    50: '#999f5c',
    500: '#6c7914',
    950: '#000000',
  },
}
SCSS
$custom: #6c7914;
$custom-light: #999f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7914",
  "rgb": {
    "r": 108,
    "g": 121,
    "b": 20
  },
  "hsl": {
    "h": 67.723,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.54691,
    "c": 0.11903,
    "h": 117.2
  },
  "luminance": 0.16913
}

Semantic roles & 50–950 ramp

primary
#6C7914
secondary
#493AAF
accent
#39EE51
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6C7914

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

Preview Lab → · Contrast checker → · Palette generator →

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