#6E7A12#6E7A12

#6E7A12 is a mid, vivid yellow. Relative luminance 0.173; OKLCH L 55.1% C 0.120 H 116.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6E7A12
RGBrgb(110, 122, 18)
HSLhsl(67, 74%, 27%)
HSVhsv(67, 85%, 48%)
CMYKcmyk(9.8%, 0%, 85.2%, 52.2%)
CIE-LABlab(48.61, -17.61, 49.70)
CIE-LCHlch(48.61, 52.73, 109.51°)
OKLaboklab(55.1% -0.0538 0.1076)
OKLCHoklch(55.1% 0.12 116.6)
XYZxyz(13.4995, 17.2779, 3.1960)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7A12 #1E127A
analogous
#7A5212 #6E7A12 #3A7A12
triadic
#6E7A12 #126E7A #7A126E
tetradic
#6E7A12 #127A52 #1E127A #7A123A
square
#6E7A12 #127A52 #1E127A #7A123A
split-complementary
#6E7A12 #123A7A #52127A
monochromatic
#181B04 #3E450A #6E7A12 #9EAF1A #CADF27

Accessibility & contrast

On white

4.71
#6E7A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#6E7A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7A12
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7A12#FFFFFF#000000##FFFFFF
##6E7A121.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#82741D
Tritanopia (blue-blind)
#767268
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6e7a12;
/* rgb */ color: rgb(110, 122, 18);
/* oklch */ color: oklch(55.1% 0.120 116.6);
Tailwind
colors: {
  custom: {
    50: '#9ba05c',
    500: '#6e7a12',
    950: '#000000',
  },
}
SCSS
$custom: #6e7a12;
$custom-light: #9ba05c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7a12",
  "rgb": {
    "r": 110,
    "g": 122,
    "b": 18
  },
  "hsl": {
    "h": 66.923,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.55096,
    "c": 0.12033,
    "h": 116.6
  },
  "luminance": 0.17278
}

Semantic roles & 50–950 ramp

primary
#6E7A12
secondary
#4638B0
accent
#37F14C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6E7A12

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

Preview Lab → · Contrast checker → · Palette generator →

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