#6A7512#6A7512

#6A7512 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.5% C 0.116 H 116.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6A7512
RGBrgb(106, 117, 18)
HSLhsl(67, 73%, 26%)
HSVhsv(67, 85%, 46%)
CMYKcmyk(9.4%, 0%, 84.6%, 54.1%)
CIE-LABlab(46.75, -16.79, 47.96)
CIE-LCHlch(46.75, 50.82, 109.29°)
OKLaboklab(53.52% -0.0514 0.1041)
OKLCHoklch(53.52% 0.116 116.3)
XYZxyz(12.4147, 15.8306, 2.9738)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7512 #1D1275
analogous
#754F12 #6A7512 #397512
triadic
#6A7512 #126A75 #75126A
tetradic
#6A7512 #12754F #1D1275 #751239
square
#6A7512 #12754F #1D1275 #751239
split-complementary
#6A7512 #123975 #4F1275
monochromatic
#181B04 #3A400A #6A7512 #9AAA1A #C9DD24

Accessibility & contrast

On white

5.04
#6A7512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6A7512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7512
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7512#FFFFFF#000000##FFFFFF
##6A75121.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#7D6F1C
Tritanopia (blue-blind)
#716E63
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6a7512;
/* rgb */ color: rgb(106, 117, 18);
/* oklch */ color: oklch(53.5% 0.116 116.3);
Tailwind
colors: {
  custom: {
    50: '#989c5b',
    500: '#6a7512',
    950: '#000000',
  },
}
SCSS
$custom: #6a7512;
$custom-light: #989c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7512",
  "rgb": {
    "r": 106,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 66.667,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.53523,
    "c": 0.11604,
    "h": 116.3
  },
  "luminance": 0.1583
}

Semantic roles & 50–950 ramp

primary
#6A7512
secondary
#4437AC
accent
#38F04C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6A7512

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

Preview Lab → · Contrast checker → · Palette generator →

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