#6F7117#6F7117

#6F7117 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.0% C 0.107 H 110.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6F7117
RGBrgb(111, 113, 23)
HSLhsl(61, 66%, 27%)
HSVhsv(61, 80%, 44%)
CMYKcmyk(1.8%, 0%, 79.6%, 55.7%)
CIE-LABlab(45.98, -12.09, 45.85)
CIE-LCHlch(45.98, 47.42, 104.77°)
OKLaboklab(53.01% -0.0382 0.1003)
OKLCHoklch(53.01% 0.107 110.9)
XYZxyz(12.6158, 15.2520, 3.0898)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7117 #191771
analogous
#714617 #6F7117 #427117
triadic
#6F7117 #176F71 #71176F
tetradic
#6F7117 #177146 #191771 #711742
square
#6F7117 #177146 #191771 #711742
split-complementary
#6F7117 #174271 #461771
monochromatic
#191905 #3D3E0D #6F7117 #A1A421 #D1D42E

Accessibility & contrast

On white

5.18
#6F7117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6F7117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7117
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7117#FFFFFF#000000##FFFFFF
##6F71171.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C01
Deuteranopia (green-blind)
#7B6E1F
Tritanopia (blue-blind)
#776960
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6f7117;
/* rgb */ color: rgb(111, 113, 23);
/* oklch */ color: oklch(53.0% 0.107 110.9);
Tailwind
colors: {
  custom: {
    50: '#9b995d',
    500: '#6f7117',
    950: '#000000',
  },
}
SCSS
$custom: #6f7117;
$custom-light: #9b995d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7117",
  "rgb": {
    "r": 111,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 61.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.53014,
    "c": 0.10734,
    "h": 110.9
  },
  "luminance": 0.15252
}

Semantic roles & 50–950 ramp

primary
#6F7117
secondary
#3F3DA7
accent
#3FE942
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0D04
muted
#7E7E79

Preview Lab

Preview with #6F7117

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

Preview Lab → · Contrast checker → · Palette generator →

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