#6A7112#6A7112

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

Color values

HEX#6A7112
RGBrgb(106, 113, 18)
HSLhsl(64, 73%, 26%)
HSVhsv(64, 84%, 44%)
CMYKcmyk(6.2%, 0%, 84.1%, 55.7%)
CIE-LABlab(45.52, -14.64, 46.89)
CIE-LCHlch(45.52, 49.12, 107.34°)
OKLaboklab(52.54% -0.0454 0.1017)
OKLCHoklch(52.54% 0.111 114.1)
XYZxyz(11.9585, 14.9183, 2.8217)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7112 #191271
analogous
#714812 #6A7112 #3A7112
triadic
#6A7112 #126A71 #71126A
tetradic
#6A7112 #127148 #191271 #71123A
square
#6A7112 #127148 #191271 #71123A
split-complementary
#6A7112 #123A71 #481271
monochromatic
#191A04 #383C0A #6A7112 #9CA61A #CDDB23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A7112#FFFFFF#000000##FFFFFF
##6A71121.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: #6a7112;
/* rgb */ color: rgb(106, 113, 18);
/* oklch */ color: oklch(52.5% 0.111 114.1);
Tailwind
colors: {
  custom: {
    50: '#98995a',
    500: '#6a7112',
    950: '#000000',
  },
}
SCSS
$custom: #6a7112;
$custom-light: #98995a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7112",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 64.421,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.52536,
    "c": 0.11143,
    "h": 114.1
  },
  "luminance": 0.14918
}

Semantic roles & 50–950 ramp

primary
#6A7112
secondary
#3F37A8
accent
#39EF46
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A7112

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

Preview Lab → · Contrast checker → · Palette generator →

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