#6F6917#6F6917

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

Color values

HEX#6F6917
RGBrgb(111, 105, 23)
HSLhsl(56, 66%, 26%)
HSVhsv(56, 79%, 44%)
CMYKcmyk(0%, 5.4%, 79.3%, 56.5%)
CIE-LABlab(43.57, -7.62, 43.64)
CIE-LCHlch(43.57, 44.30, 99.90°)
OKLaboklab(51.1% -0.0257 0.0956)
OKLCHoklch(51.1% 0.099 105.1)
XYZxyz(11.7623, 13.5450, 2.8053)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6917 #171D6F
analogous
#6F3D17 #6F6917 #496F17
triadic
#6F6917 #176F69 #69176F
tetradic
#6F6917 #176F3D #171D6F #6F1749
square
#6F6917 #176F3D #171D6F #6F1749
split-complementary
#6F6917 #17496F #3D176F
monochromatic
#191805 #3C390C #6F6917 #A29922 #D3C82D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F6917#FFFFFF#000000##FFFFFF
##6F69171.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)
#736505
Deuteranopia (green-blind)
#75691D
Tritanopia (blue-blind)
#786159
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6f6917;
/* rgb */ color: rgb(111, 105, 23);
/* oklch */ color: oklch(51.1% 0.099 105.1);
Tailwind
colors: {
  custom: {
    50: '#9b935b',
    500: '#6f6917',
    950: '#000000',
  },
}
SCSS
$custom: #6f6917;
$custom-light: #9b935b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6917",
  "rgb": {
    "r": 111,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 55.909,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51095,
    "c": 0.09899,
    "h": 105.1
  },
  "luminance": 0.13545
}

Semantic roles & 50–950 ramp

primary
#6F6917
secondary
#3D44A5
accent
#4BE93F
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0F0D04
muted
#7E7E79

Preview Lab

Preview with #6F6917

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

Preview Lab → · Contrast checker → · Palette generator →

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