#6E7211#6E7211

#6E7211 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.1% C 0.112 H 112.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6E7211
RGBrgb(110, 114, 17)
HSLhsl(62, 74%, 26%)
HSVhsv(62, 85%, 45%)
CMYKcmyk(3.5%, 0%, 85.1%, 55.3%)
CIE-LABlab(46.16, -13.35, 47.87)
CIE-LCHlch(46.16, 49.69, 105.58°)
OKLaboklab(53.13% -0.0422 0.1035)
OKLCHoklch(53.13% 0.112 112.2)
XYZxyz(12.5493, 15.3904, 2.8398)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7211 #151172
analogous
#724511 #6E7211 #3D7211
triadic
#6E7211 #116E72 #72116E
tetradic
#6E7211 #117245 #151172 #72113D
square
#6E7211 #117245 #151172 #72113D
split-complementary
#6E7211 #113D72 #451172
monochromatic
#1A1B04 #3B3D09 #6E7211 #A1A719 #D5DD21

Accessibility & contrast

On white

5.15
#6E7211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6E7211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7211
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7211#FFFFFF#000000##FFFFFF
##6E72111.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7C6E1B
Tritanopia (blue-blind)
#766A61
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6e7211;
/* rgb */ color: rgb(110, 114, 17);
/* oklch */ color: oklch(53.1% 0.112 112.2);
Tailwind
colors: {
  custom: {
    50: '#9b9a5a',
    500: '#6e7211',
    950: '#000000',
  },
}
SCSS
$custom: #6e7211;
$custom-light: #9b9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7211",
  "rgb": {
    "r": 110,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 62.474,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.53133,
    "c": 0.11174,
    "h": 112.2
  },
  "luminance": 0.1539
}

Semantic roles & 50–950 ramp

primary
#6E7211
secondary
#3A36A9
accent
#37F13F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6E7211

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

Preview Lab → · Contrast checker → · Palette generator →

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