#6C7913#6C7913

#6C7913 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#6C7913
RGBrgb(108, 121, 19)
HSLhsl(68, 73%, 27%)
HSVhsv(68, 84%, 47%)
CMYKcmyk(10.7%, 0%, 84.3%, 52.5%)
CIE-LABlab(48.15, -17.96, 48.96)
CIE-LCHlch(48.15, 52.15, 110.15°)
OKLaboklab(54.69% -0.0546 0.1063)
OKLCHoklch(54.69% 0.119 117.2)
XYZxyz(13.1396, 16.9101, 3.1877)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7913 #201379
analogous
#795313 #6C7913 #397913
triadic
#6C7913 #136C79 #79136C
tetradic
#6C7913 #137953 #201379 #791339
square
#6C7913 #137953 #201379 #791339
split-complementary
#6C7913 #133979 #531379
monochromatic
#181A04 #3D440B #6C7913 #9BAE1B #C6DD29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C7913#FFFFFF#000000##FFFFFF
##6C79131.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: #6c7913;
/* rgb */ color: rgb(108, 121, 19);
/* oklch */ color: oklch(54.7% 0.119 117.2);
Tailwind
colors: {
  custom: {
    50: '#999f5c',
    500: '#6c7913',
    950: '#000000',
  },
}
SCSS
$custom: #6c7913;
$custom-light: #999f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7913",
  "rgb": {
    "r": 108,
    "g": 121,
    "b": 19
  },
  "hsl": {
    "h": 67.647,
    "s": 72.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.54686,
    "c": 0.11949,
    "h": 117.2
  },
  "luminance": 0.1691
}

Semantic roles & 50–950 ramp

primary
#6C7913
secondary
#4839AF
accent
#38F050
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6C7913

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

Preview Lab → · Contrast checker → · Palette generator →

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