#6A6A12#6A6A12

#6A6A12 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.8% C 0.104 H 109.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#6A6A12
RGBrgb(106, 106, 18)
HSLhsl(60, 71%, 24%)
HSVhsv(60, 83%, 42%)
CMYKcmyk(0%, 0%, 83%, 58.4%)
CIE-LABlab(43.38, -10.78, 45.01)
CIE-LCHlch(43.38, 46.28, 103.47°)
OKLaboklab(50.82% -0.0348 0.0977)
OKLCHoklch(50.82% 0.104 109.6)
XYZxyz(11.2075, 13.4163, 2.5714)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6A12 #12126A
analogous
#6A3E12 #6A6A12 #3E6A12
triadic
#6A6A12 #126A6A #6A126A
tetradic
#6A6A12 #126A3E #12126A #6A123E
square
#6A6A12 #126A3E #12126A #6A123E
split-complementary
#6A6A12 #123E6A #3E126A
monochromatic
#1A1A04 #363609 #6A6A12 #9E9E1B #D3D324

Accessibility & contrast

On white

5.70
#6A6A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#6A6A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6A12
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6A12#FFFFFF#000000##FFFFFF
##6A6A121.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#74681A
Tritanopia (blue-blind)
#72635A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6a6a12;
/* rgb */ color: rgb(106, 106, 18);
/* oklch */ color: oklch(50.8% 0.104 109.6);
Tailwind
colors: {
  custom: {
    50: '#989459',
    500: '#6a6a12',
    950: '#000000',
  },
}
SCSS
$custom: #6a6a12;
$custom-light: #989459;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6a12",
  "rgb": {
    "r": 106,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 60,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.50824,
    "c": 0.1037,
    "h": 109.6
  },
  "luminance": 0.13416
}

Semantic roles & 50–950 ramp

primary
#6A6A12
secondary
#3636A2
accent
#3AEE3A
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A6A12

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

Preview Lab → · Contrast checker → · Palette generator →

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