#6B7913#6B7913

#6B7913 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.6% C 0.120 H 117.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6B7913
RGBrgb(107, 121, 19)
HSLhsl(68, 73%, 27%)
HSVhsv(68, 84%, 47%)
CMYKcmyk(11.6%, 0%, 84.3%, 52.5%)
CIE-LABlab(48.07, -18.41, 48.86)
CIE-LCHlch(48.07, 52.21, 110.65°)
OKLaboklab(54.6% -0.0558 0.1061)
OKLCHoklch(54.6% 0.12 117.7)
XYZxyz(13.0187, 16.8477, 3.1821)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7913 #211379
analogous
#795413 #6B7913 #387913
triadic
#6B7913 #136B79 #79136B
tetradic
#6B7913 #137954 #211379 #791338
square
#6B7913 #137954 #211379 #791338
split-complementary
#6B7913 #133879 #541379
monochromatic
#171A04 #3C440B #6B7913 #9AAE1B #C5DD29

Accessibility & contrast

On white

4.81
#6B7913 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#6B7913 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7913
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7913#FFFFFF#000000##FFFFFF
##6B79131.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b7913;
/* rgb */ color: rgb(107, 121, 19);
/* oklch */ color: oklch(54.6% 0.120 117.7);
Tailwind
colors: {
  custom: {
    50: '#999f5c',
    500: '#6b7913',
    950: '#000000',
  },
}
SCSS
$custom: #6b7913;
$custom-light: #999f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7913",
  "rgb": {
    "r": 107,
    "g": 121,
    "b": 19
  },
  "hsl": {
    "h": 68.235,
    "s": 72.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.54603,
    "c": 0.11989,
    "h": 117.7
  },
  "luminance": 0.16848
}

Semantic roles & 50–950 ramp

primary
#6B7913
secondary
#4939AF
accent
#38F051
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6B7913

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

Preview Lab → · Contrast checker → · Palette generator →

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