#6F6818#6F6818

#6F6818 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.9% C 0.097 H 104.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6F6818
RGBrgb(111, 104, 24)
HSLhsl(55, 64%, 26%)
HSVhsv(55, 78%, 44%)
CMYKcmyk(0%, 6.3%, 78.4%, 56.5%)
CIE-LABlab(43.28, -7.00, 43.00)
CIE-LCHlch(43.28, 43.56, 99.25°)
OKLaboklab(50.87% -0.0239 0.0944)
OKLCHoklch(50.87% 0.097 104.2)
XYZxyz(11.6712, 13.3466, 2.8253)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6818 #181F6F
analogous
#6F3D18 #6F6818 #4B6F18
triadic
#6F6818 #186F68 #68186F
tetradic
#6F6818 #186F3D #181F6F #6F184B
square
#6F6818 #186F3D #181F6F #6F184B
split-complementary
#6F6818 #184B6F #3D186F
monochromatic
#191805 #3D390D #6F6818 #A19723 #D2C52F

Accessibility & contrast

On white

5.72
#6F6818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6F6818
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F6818#FFFFFF#000000##FFFFFF
##6F68181.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726408
Deuteranopia (green-blind)
#74681E
Tritanopia (blue-blind)
#786059
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6f6818;
/* rgb */ color: rgb(111, 104, 24);
/* oklch */ color: oklch(50.9% 0.097 104.2);
Tailwind
colors: {
  custom: {
    50: '#9b925c',
    500: '#6f6818',
    950: '#000000',
  },
}
SCSS
$custom: #6f6818;
$custom-light: #9b925c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6818",
  "rgb": {
    "r": 111,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 55.172,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50865,
    "c": 0.09741,
    "h": 104.2
  },
  "luminance": 0.13346
}

Semantic roles & 50–950 ramp

primary
#6F6818
secondary
#3E46A5
accent
#4EE740
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0F0D04
muted
#7E7D79

Preview Lab

Preview with #6F6818

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

Preview Lab → · Contrast checker → · Palette generator →

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