#6F6815#6F6815

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

Color values

HEX#6F6815
RGBrgb(111, 104, 21)
HSLhsl(55, 68%, 26%)
HSVhsv(55, 81%, 44%)
CMYKcmyk(0%, 6.3%, 81.1%, 56.5%)
CIE-LABlab(43.26, -7.13, 44.07)
CIE-LCHlch(43.26, 44.65, 99.20°)
OKLaboklab(50.85% -0.0246 0.0961)
OKLCHoklch(50.85% 0.099 104.4)
XYZxyz(11.6417, 13.3348, 2.6700)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6815 #151C6F
analogous
#6F3B15 #6F6815 #496F15
triadic
#6F6815 #156F68 #68156F
tetradic
#6F6815 #156F3B #151C6F #6F1549
square
#6F6815 #156F3B #151C6F #6F1549
split-complementary
#6F6815 #15496F #3B156F
monochromatic
#1A1805 #3C380B #6F6815 #A2981F #D6C828

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F6815#FFFFFF#000000##FFFFFF
##6F68151.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)
#726402
Deuteranopia (green-blind)
#74681C
Tritanopia (blue-blind)
#786058
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6f6815;
/* rgb */ color: rgb(111, 104, 21);
/* oklch */ color: oklch(50.8% 0.099 104.4);
Tailwind
colors: {
  custom: {
    50: '#9c925a',
    500: '#6f6815',
    950: '#000000',
  },
}
SCSS
$custom: #6f6815;
$custom-light: #9c925a;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6815",
  "rgb": {
    "r": 111,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 55.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50845,
    "c": 0.09919,
    "h": 104.4
  },
  "luminance": 0.13334
}

Semantic roles & 50–950 ramp

primary
#6F6815
secondary
#3A43A5
accent
#4AEB3D
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0F0D04
muted
#7E7D79

Preview Lab

Preview with #6F6815

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

Preview Lab → · Contrast checker → · Palette generator →

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