#6F6E17#6F6E17

#6F6E17 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.3% C 0.104 H 108.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6F6E17
RGBrgb(111, 110, 23)
HSLhsl(59, 66%, 26%)
HSVhsv(59, 79%, 44%)
CMYKcmyk(0%, 0.9%, 79.3%, 56.5%)
CIE-LABlab(45.07, -10.43, 45.02)
CIE-LCHlch(45.07, 46.22, 103.04°)
OKLaboklab(52.29% -0.0336 0.0985)
OKLCHoklch(52.29% 0.104 108.8)
XYZxyz(12.2866, 14.5936, 2.9801)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6E17 #17186F
analogous
#6F4217 #6F6E17 #446F17
triadic
#6F6E17 #176F6E #6E176F
tetradic
#6F6E17 #176F42 #17186F #6F1744
square
#6F6E17 #176F42 #17186F #6F1744
split-complementary
#6F6E17 #17446F #42176F
monochromatic
#191905 #3C3C0C #6F6E17 #A2A022 #D3D22D

Accessibility & contrast

On white

5.36
#6F6E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#6F6E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F6E17
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F6E17#FFFFFF#000000##FFFFFF
##6F6E171.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786903
Deuteranopia (green-blind)
#796C1E
Tritanopia (blue-blind)
#77665E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6f6e17;
/* rgb */ color: rgb(111, 110, 23);
/* oklch */ color: oklch(52.3% 0.104 108.8);
Tailwind
colors: {
  custom: {
    50: '#9b975c',
    500: '#6f6e17',
    950: '#000000',
  },
}
SCSS
$custom: #6f6e17;
$custom-light: #9b975c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6e17",
  "rgb": {
    "r": 111,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 59.318,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.52291,
    "c": 0.1041,
    "h": 108.8
  },
  "luminance": 0.14593
}

Semantic roles & 50–950 ramp

primary
#6F6E17
secondary
#3D3EA5
accent
#41E93F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0D04
muted
#7E7E79

Preview Lab

Preview with #6F6E17

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

Preview Lab → · Contrast checker → · Palette generator →

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