#6A7111#6A7111

#6A7111 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.5% C 0.112 H 114.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6A7111
RGBrgb(106, 113, 17)
HSLhsl(64, 74%, 25%)
HSVhsv(64, 85%, 44%)
CMYKcmyk(6.2%, 0%, 85%, 55.7%)
CIE-LABlab(45.52, -14.68, 47.18)
CIE-LCHlch(45.52, 49.41, 107.28°)
OKLaboklab(52.53% -0.0456 0.1022)
OKLCHoklch(52.53% 0.112 114.1)
XYZxyz(11.9505, 14.9151, 2.7796)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7111 #181171
analogous
#714811 #6A7111 #3A7111
triadic
#6A7111 #116A71 #71116A
tetradic
#6A7111 #117148 #181171 #71113A
square
#6A7111 #117148 #181171 #71113A
split-complementary
#6A7111 #113A71 #481171
monochromatic
#191B04 #383C09 #6A7111 #9CA619 #CEDB21

Accessibility & contrast

On white

5.27
#6A7111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6A7111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7111
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7111#FFFFFF#000000##FFFFFF
##6A71111.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7A6D1B
Tritanopia (blue-blind)
#726A60
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6a7111;
/* rgb */ color: rgb(106, 113, 17);
/* oklch */ color: oklch(52.5% 0.112 114.1);
Tailwind
colors: {
  custom: {
    50: '#98995a',
    500: '#6a7111',
    950: '#000000',
  },
}
SCSS
$custom: #6a7111;
$custom-light: #98995a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7111",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 64.375,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.52531,
    "c": 0.11189,
    "h": 114.1
  },
  "luminance": 0.14915
}

Semantic roles & 50–950 ramp

primary
#6A7111
secondary
#3E36A8
accent
#37F145
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A7111

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

Preview Lab → · Contrast checker → · Palette generator →

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