#6A7011#6A7011

#6A7011 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.3% C 0.111 H 113.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6A7011
RGBrgb(106, 112, 17)
HSLhsl(64, 74%, 25%)
HSVhsv(64, 85%, 44%)
CMYKcmyk(5.4%, 0%, 84.8%, 56.1%)
CIE-LABlab(45.21, -14.13, 46.91)
CIE-LCHlch(45.21, 48.99, 106.76°)
OKLaboklab(52.29% -0.0441 0.1016)
OKLCHoklch(52.29% 0.111 113.5)
XYZxyz(11.8396, 14.6932, 2.7426)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7011 #171170
analogous
#704611 #6A7011 #3B7011
triadic
#6A7011 #116A70 #70116A
tetradic
#6A7011 #117046 #171170 #70113B
square
#6A7011 #117046 #171170 #70113B
split-complementary
#6A7011 #113B70 #461170
monochromatic
#191B04 #383B09 #6A7011 #9CA519 #CFDA21

Accessibility & contrast

On white

5.33
#6A7011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#6A7011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7011
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7011#FFFFFF#000000##FFFFFF
##6A70111.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#796C1B
Tritanopia (blue-blind)
#72695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6a7011;
/* rgb */ color: rgb(106, 112, 17);
/* oklch */ color: oklch(52.3% 0.111 113.5);
Tailwind
colors: {
  custom: {
    50: '#98985a',
    500: '#6a7011',
    950: '#000000',
  },
}
SCSS
$custom: #6a7011;
$custom-light: #98985a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7011",
  "rgb": {
    "r": 106,
    "g": 112,
    "b": 17
  },
  "hsl": {
    "h": 63.789,
    "s": 73.643,
    "l": 25.294
  },
  "oklch": {
    "l": 0.52285,
    "c": 0.11077,
    "h": 113.5
  },
  "luminance": 0.14693
}

Semantic roles & 50–950 ramp

primary
#6A7011
secondary
#3D35A7
accent
#37F043
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A7011

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

Preview Lab → · Contrast checker → · Palette generator →

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