#6A7311#6A7311

#6A7311 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.0% C 0.114 H 115.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6A7311
RGBrgb(106, 115, 17)
HSLhsl(66, 74%, 26%)
HSVhsv(66, 85%, 45%)
CMYKcmyk(7.8%, 0%, 85.2%, 54.9%)
CIE-LABlab(46.13, -15.76, 47.71)
CIE-LCHlch(46.13, 50.24, 108.28°)
OKLaboklab(53.02% -0.0486 0.1033)
OKLCHoklch(53.02% 0.114 115.2)
XYZxyz(12.1761, 15.3663, 2.8548)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7311 #1A1173
analogous
#734B11 #6A7311 #397311
triadic
#6A7311 #116A73 #73116A
tetradic
#6A7311 #11734B #1A1173 #731139
square
#6A7311 #11734B #1A1173 #731139
split-complementary
#6A7311 #113973 #4B1173
monochromatic
#191B04 #393E09 #6A7311 #9BA819 #CCDE21

Accessibility & contrast

On white

5.16
#6A7311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6A7311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7311
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7311#FFFFFF#000000##FFFFFF
##6A73111.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7B6E1B
Tritanopia (blue-blind)
#726C62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6a7311;
/* rgb */ color: rgb(106, 115, 17);
/* oklch */ color: oklch(53.0% 0.114 115.2);
Tailwind
colors: {
  custom: {
    50: '#989b5a',
    500: '#6a7311',
    950: '#000000',
  },
}
SCSS
$custom: #6a7311;
$custom-light: #989b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7311",
  "rgb": {
    "r": 106,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 65.51,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.53024,
    "c": 0.11418,
    "h": 115.2
  },
  "luminance": 0.15366
}

Semantic roles & 50–950 ramp

primary
#6A7311
secondary
#4036AA
accent
#37F148
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6A7311

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

Preview Lab → · Contrast checker → · Palette generator →

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