#6B7011#6B7011

#6B7011 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.4% C 0.110 H 112.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6B7011
RGBrgb(107, 112, 17)
HSLhsl(63, 74%, 25%)
HSVhsv(63, 85%, 44%)
CMYKcmyk(4.5%, 0%, 84.8%, 56.1%)
CIE-LABlab(45.30, -13.66, 47.02)
CIE-LCHlch(45.30, 48.96, 106.20°)
OKLaboklab(52.38% -0.0429 0.1018)
OKLCHoklch(52.38% 0.11 112.8)
XYZxyz(11.9592, 14.7549, 2.7482)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7011 #161170
analogous
#704511 #6B7011 #3B7011
triadic
#6B7011 #116B70 #70116B
tetradic
#6B7011 #117045 #161170 #70113B
square
#6B7011 #117045 #161170 #70113B
split-complementary
#6B7011 #113B70 #451170
monochromatic
#191B04 #383B09 #6B7011 #9EA519 #D1DA21

Accessibility & contrast

On white

5.32
#6B7011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6B7011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7011
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7011#FFFFFF#000000##FFFFFF
##6B70111.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b7011;
/* rgb */ color: rgb(107, 112, 17);
/* oklch */ color: oklch(52.4% 0.110 112.8);
Tailwind
colors: {
  custom: {
    50: '#99985a',
    500: '#6b7011',
    950: '#000000',
  },
}
SCSS
$custom: #6b7011;
$custom-light: #99985a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7011",
  "rgb": {
    "r": 107,
    "g": 112,
    "b": 17
  },
  "hsl": {
    "h": 63.158,
    "s": 73.643,
    "l": 25.294
  },
  "oklch": {
    "l": 0.52375,
    "c": 0.11044,
    "h": 112.8
  },
  "luminance": 0.14755
}

Semantic roles & 50–950 ramp

primary
#6B7011
secondary
#3B35A7
accent
#37F041
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6B7011

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

Preview Lab → · Contrast checker → · Palette generator →

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