#6F7213#6F7213

#6F7213 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.2% C 0.111 H 111.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6F7213
RGBrgb(111, 114, 19)
HSLhsl(62, 71%, 26%)
HSVhsv(62, 83%, 45%)
CMYKcmyk(2.6%, 0%, 83.3%, 55.3%)
CIE-LABlab(46.26, -12.80, 47.40)
CIE-LCHlch(46.26, 49.10, 105.12°)
OKLaboklab(53.23% -0.0406 0.1028)
OKLCHoklch(53.23% 0.111 111.5)
XYZxyz(12.6909, 15.4615, 2.9318)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7213 #161372
analogous
#724513 #6F7213 #3F7213
triadic
#6F7213 #136F72 #72136F
tetradic
#6F7213 #137245 #161372 #72133F
square
#6F7213 #137245 #161372 #72133F
split-complementary
#6F7213 #133F72 #451372
monochromatic
#1A1A04 #3C3E0A #6F7213 #A2A61C #D5DB25

Accessibility & contrast

On white

5.13
#6F7213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#6F7213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7213
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7213#FFFFFF#000000##FFFFFF
##6F72131.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6C00
Deuteranopia (green-blind)
#7C6F1C
Tritanopia (blue-blind)
#776A61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6f7213;
/* rgb */ color: rgb(111, 114, 19);
/* oklch */ color: oklch(53.2% 0.111 111.5);
Tailwind
colors: {
  custom: {
    50: '#9c9a5b',
    500: '#6f7213',
    950: '#000000',
  },
}
SCSS
$custom: #6f7213;
$custom-light: #9c9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7213",
  "rgb": {
    "r": 111,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 61.895,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.53234,
    "c": 0.11053,
    "h": 111.5
  },
  "luminance": 0.15461
}

Semantic roles & 50–950 ramp

primary
#6F7213
secondary
#3C38A9
accent
#3AEE3F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E04
muted
#7E7E79

Preview Lab

Preview with #6F7213

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

Preview Lab → · Contrast checker → · Palette generator →

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