#6F6918#6F6918

#6F6918 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 51.1% C 0.098 H 105.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6F6918
RGBrgb(111, 105, 24)
HSLhsl(56, 64%, 26%)
HSVhsv(56, 78%, 44%)
CMYKcmyk(0%, 5.4%, 78.4%, 56.5%)
CIE-LABlab(43.58, -7.57, 43.28)
CIE-LCHlch(43.58, 43.93, 99.92°)
OKLaboklab(51.1% -0.0255 0.095)
OKLCHoklch(51.1% 0.098 105)
XYZxyz(11.7725, 13.5491, 2.8591)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6918 #181E6F
analogous
#6F3E18 #6F6918 #4A6F18
triadic
#6F6918 #186F69 #69186F
tetradic
#6F6918 #186F3E #181E6F #6F184A
square
#6F6918 #186F3E #181E6F #6F184A
split-complementary
#6F6918 #184A6F #3E186F
monochromatic
#191805 #3D390D #6F6918 #A19923 #D2C72F

Accessibility & contrast

On white

5.66
#6F6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6F6918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F6918
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F6918#FFFFFF#000000##FFFFFF
##6F69181.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736507
Deuteranopia (green-blind)
#75691E
Tritanopia (blue-blind)
#78615A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6f6918;
/* rgb */ color: rgb(111, 105, 24);
/* oklch */ color: oklch(51.1% 0.098 105.0);
Tailwind
colors: {
  custom: {
    50: '#9b935c',
    500: '#6f6918',
    950: '#000000',
  },
}
SCSS
$custom: #6f6918;
$custom-light: #9b935c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6918",
  "rgb": {
    "r": 111,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 55.862,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51102,
    "c": 0.09838,
    "h": 105
  },
  "luminance": 0.13549
}

Semantic roles & 50–950 ramp

primary
#6F6918
secondary
#3E45A5
accent
#4CE740
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0F0D04
muted
#7E7E79

Preview Lab

Preview with #6F6918

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

Preview Lab → · Contrast checker → · Palette generator →

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