#6F7313#6F7313

#6F7313 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.5% C 0.112 H 112.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6F7313
RGBrgb(111, 115, 19)
HSLhsl(63, 72%, 26%)
HSVhsv(63, 83%, 45%)
CMYKcmyk(3.5%, 0%, 83.5%, 54.9%)
CIE-LABlab(46.56, -13.35, 47.67)
CIE-LCHlch(46.56, 49.50, 105.65°)
OKLaboklab(53.48% -0.0421 0.1034)
OKLCHoklch(53.48% 0.112 112.1)
XYZxyz(12.8043, 15.6883, 2.9696)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7313 #171373
analogous
#734713 #6F7313 #3F7313
triadic
#6F7313 #136F73 #73136F
tetradic
#6F7313 #137347 #171373 #73133F
square
#6F7313 #137347 #171373 #73133F
split-complementary
#6F7313 #133F73 #471373
monochromatic
#191A04 #3C3E0A #6F7313 #A2A81C #D3DB25

Accessibility & contrast

On white

5.08
#6F7313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6F7313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7313
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7313#FFFFFF#000000##FFFFFF
##6F73131.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#7D6F1C
Tritanopia (blue-blind)
#776B62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6f7313;
/* rgb */ color: rgb(111, 115, 19);
/* oklch */ color: oklch(53.5% 0.112 112.1);
Tailwind
colors: {
  custom: {
    50: '#9c9b5b',
    500: '#6f7313',
    950: '#000000',
  },
}
SCSS
$custom: #6f7313;
$custom-light: #9c9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7313",
  "rgb": {
    "r": 111,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 62.5,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.53476,
    "c": 0.11162,
    "h": 112.1
  },
  "luminance": 0.15688
}

Semantic roles & 50–950 ramp

primary
#6F7313
secondary
#3D38AA
accent
#39EE41
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E04
muted
#7E7E79

Preview Lab

Preview with #6F7313

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

Preview Lab → · Contrast checker → · Palette generator →

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