#6F6813#6F6813

#6F6813 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.8% C 0.100 H 104.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#6F6813
RGBrgb(111, 104, 19)
HSLhsl(55, 71%, 25%)
HSVhsv(55, 83%, 44%)
CMYKcmyk(0%, 6.3%, 82.9%, 56.5%)
CIE-LABlab(43.25, -7.22, 44.74)
CIE-LCHlch(43.25, 45.32, 99.16°)
OKLaboklab(50.83% -0.025 0.0971)
OKLCHoklch(50.83% 0.1 104.4)
XYZxyz(11.6239, 13.3276, 2.5762)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6813 #131A6F
analogous
#6F3A13 #6F6813 #486F13
triadic
#6F6813 #136F68 #68136F
tetradic
#6F6813 #136F3A #131A6F #6F1348
square
#6F6813 #136F3A #131A6F #6F1348
split-complementary
#6F6813 #13486F #3A136F
monochromatic
#1A1804 #3B370A #6F6813 #A3991C #D8CA25

Accessibility & contrast

On white

5.73
#6F6813 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6F6813 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F6813
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F6813#FFFFFF#000000##FFFFFF
##6F68131.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#74681A
Tritanopia (blue-blind)
#786058
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6f6813;
/* rgb */ color: rgb(111, 104, 19);
/* oklch */ color: oklch(50.8% 0.100 104.4);
Tailwind
colors: {
  custom: {
    50: '#9c925a',
    500: '#6f6813',
    950: '#000000',
  },
}
SCSS
$custom: #6f6813;
$custom-light: #9c925a;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6813",
  "rgb": {
    "r": 111,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 55.435,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50833,
    "c": 0.10028,
    "h": 104.4
  },
  "luminance": 0.13327
}

Semantic roles & 50–950 ramp

primary
#6F6813
secondary
#3840A6
accent
#48EE3A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0F0D04
muted
#7E7D79

Preview Lab

Preview with #6F6813

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

Preview Lab → · Contrast checker → · Palette generator →

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