#6A6C12#6A6C12

#6A6C12 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.3% C 0.106 H 111.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#6A6C12
RGBrgb(106, 108, 18)
HSLhsl(61, 71%, 25%)
HSVhsv(61, 83%, 42%)
CMYKcmyk(1.9%, 0%, 83.3%, 57.6%)
CIE-LABlab(43.99, -11.89, 45.54)
CIE-LCHlch(43.99, 47.07, 104.64°)
OKLaboklab(51.31% -0.0378 0.0989)
OKLCHoklch(51.31% 0.106 111)
XYZxyz(11.4160, 13.8333, 2.6409)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6C12 #14126C
analogous
#6C4112 #6A6C12 #3D6C12
triadic
#6A6C12 #126A6C #6C126A
tetradic
#6A6C12 #126C41 #14126C #6C123D
square
#6A6C12 #126C41 #14126C #6C123D
split-complementary
#6A6C12 #123D6C #41126C
monochromatic
#1A1A04 #373809 #6A6C12 #9DA01B #D1D523

Accessibility & contrast

On white

5.58
#6A6C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6A6C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6C12
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6C12#FFFFFF#000000##FFFFFF
##6A6C121.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#76691A
Tritanopia (blue-blind)
#72655C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6a6c12;
/* rgb */ color: rgb(106, 108, 18);
/* oklch */ color: oklch(51.3% 0.106 111.0);
Tailwind
colors: {
  custom: {
    50: '#98955a',
    500: '#6a6c12',
    950: '#000000',
  },
}
SCSS
$custom: #6a6c12;
$custom-light: #98955a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6c12",
  "rgb": {
    "r": 106,
    "g": 108,
    "b": 18
  },
  "hsl": {
    "h": 61.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.51311,
    "c": 0.10586,
    "h": 111
  },
  "luminance": 0.13833
}

Semantic roles & 50–950 ramp

primary
#6A6C12
secondary
#3936A3
accent
#3AEE3E
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A6C12

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

Preview Lab → · Contrast checker → · Palette generator →

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