#6A6012#6A6012

#6A6012 is a mid, moderate yellow. Relative luminance 0.115; OKLCH L 48.4% C 0.094 H 101.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6A6012
RGBrgb(106, 96, 18)
HSLhsl(53, 71%, 24%)
HSVhsv(53, 83%, 42%)
CMYKcmyk(0%, 9.4%, 83%, 58.4%)
CIE-LABlab(40.37, -5.08, 42.32)
CIE-LCHlch(40.37, 42.63, 96.84°)
OKLaboklab(48.42% -0.0188 0.0919)
OKLCHoklch(48.42% 0.094 101.6)
XYZxyz(10.2364, 11.4741, 2.2477)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6012 #121C6A
analogous
#6A3412 #6A6012 #486A12
triadic
#6A6012 #126A60 #60126A
tetradic
#6A6012 #126A34 #121C6A #6A1248
square
#6A6012 #126A34 #121C6A #6A1248
split-complementary
#6A6012 #12486A #34126A
monochromatic
#1A1804 #363109 #6A6012 #9E8F1B #D3BF24

Accessibility & contrast

On white

6.37
#6A6012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6A6012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6012
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6012#FFFFFF#000000##FFFFFF
##6A60121.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D01
Deuteranopia (green-blind)
#6D6118
Tritanopia (blue-blind)
#735852
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6a6012;
/* rgb */ color: rgb(106, 96, 18);
/* oklch */ color: oklch(48.4% 0.094 101.6);
Tailwind
colors: {
  custom: {
    50: '#988c58',
    500: '#6a6012',
    950: '#000000',
  },
}
SCSS
$custom: #6a6012;
$custom-light: #988c58;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6012",
  "rgb": {
    "r": 106,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 53.182,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4842,
    "c": 0.09384,
    "h": 101.6
  },
  "luminance": 0.11474
}

Semantic roles & 50–950 ramp

primary
#6A6012
secondary
#3642A2
accent
#4EEE3A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6012

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

Preview Lab → · Contrast checker → · Palette generator →

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