#6D7913#6D7913

#6D7913 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 54.8% C 0.119 H 116.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6D7913
RGBrgb(109, 121, 19)
HSLhsl(67, 73%, 27%)
HSVhsv(67, 84%, 47%)
CMYKcmyk(9.9%, 0%, 84.3%, 52.5%)
CIE-LABlab(48.23, -17.50, 49.06)
CIE-LCHlch(48.23, 52.09, 109.64°)
OKLaboklab(54.77% -0.0534 0.1065)
OKLCHoklch(54.77% 0.119 116.6)
XYZxyz(13.2620, 16.9732, 3.1935)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7913 #1F1379
analogous
#795213 #6D7913 #3A7913
triadic
#6D7913 #136D79 #79136D
tetradic
#6D7913 #137952 #1F1379 #79133A
square
#6D7913 #137952 #1F1379 #79133A
split-complementary
#6D7913 #133A79 #521379
monochromatic
#181A04 #3D440B #6D7913 #9DAE1B #C8DD29

Accessibility & contrast

On white

4.78
#6D7913 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#6D7913 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7913
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7913#FFFFFF#000000##FFFFFF
##6D79131.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d7913;
/* rgb */ color: rgb(109, 121, 19);
/* oklch */ color: oklch(54.8% 0.119 116.6);
Tailwind
colors: {
  custom: {
    50: '#9a9f5c',
    500: '#6d7913',
    950: '#000000',
  },
}
SCSS
$custom: #6d7913;
$custom-light: #9a9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7913",
  "rgb": {
    "r": 109,
    "g": 121,
    "b": 19
  },
  "hsl": {
    "h": 67.059,
    "s": 72.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.5477,
    "c": 0.1191,
    "h": 116.6
  },
  "luminance": 0.16973
}

Semantic roles & 50–950 ramp

primary
#6D7913
secondary
#4739AF
accent
#38F04E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6D7913

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

Preview Lab → · Contrast checker → · Palette generator →

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