#6A6912#6A6912

#6A6912 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.6% C 0.103 H 108.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#6A6912
RGBrgb(106, 105, 18)
HSLhsl(59, 71%, 24%)
HSVhsv(59, 83%, 42%)
CMYKcmyk(0%, 0.9%, 83%, 58.4%)
CIE-LABlab(43.08, -10.22, 44.74)
CIE-LCHlch(43.08, 45.89, 102.87°)
OKLaboklab(50.58% -0.0332 0.0971)
OKLCHoklch(50.58% 0.103 108.9)
XYZxyz(11.1051, 13.2114, 2.5372)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6912 #12136A
analogous
#6A3D12 #6A6912 #3F6A12
triadic
#6A6912 #126A69 #69126A
tetradic
#6A6912 #126A3D #12136A #6A123F
square
#6A6912 #126A3D #12136A #6A123F
split-complementary
#6A6912 #123F6A #3D126A
monochromatic
#1A1A04 #363509 #6A6912 #9E9D1B #D3D124

Accessibility & contrast

On white

5.77
#6A6912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6A6912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6912
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6912#FFFFFF#000000##FFFFFF
##6A69121.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#74671A
Tritanopia (blue-blind)
#726259
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6a6912;
/* rgb */ color: rgb(106, 105, 18);
/* oklch */ color: oklch(50.6% 0.103 108.9);
Tailwind
colors: {
  custom: {
    50: '#989359',
    500: '#6a6912',
    950: '#000000',
  },
}
SCSS
$custom: #6a6912;
$custom-light: #989359;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6912",
  "rgb": {
    "r": 106,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 59.318,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.50581,
    "c": 0.10264,
    "h": 108.9
  },
  "luminance": 0.13211
}

Semantic roles & 50–950 ramp

primary
#6A6912
secondary
#3638A2
accent
#3CEE3A
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A6912

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

Preview Lab → · Contrast checker → · Palette generator →

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