#6A5E12#6A5E12

#6A5E12 is a mid, moderate yellow. Relative luminance 0.111; OKLCH L 47.9% C 0.092 H 99.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#6A5E12
RGBrgb(106, 94, 18)
HSLhsl(52, 71%, 24%)
HSVhsv(52, 83%, 42%)
CMYKcmyk(0%, 11.3%, 83%, 58.4%)
CIE-LABlab(39.77, -3.91, 41.79)
CIE-LCHlch(39.77, 41.97, 95.34°)
OKLaboklab(47.95% -0.0155 0.0908)
OKLCHoklch(47.95% 0.092 99.7)
XYZxyz(10.0563, 11.1138, 2.1876)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5E12 #121E6A
analogous
#6A3212 #6A5E12 #4A6A12
triadic
#6A5E12 #126A5E #5E126A
tetradic
#6A5E12 #126A32 #121E6A #6A124A
square
#6A5E12 #126A32 #121E6A #6A124A
split-complementary
#6A5E12 #124A6A #32126A
monochromatic
#1A1704 #363009 #6A5E12 #9E8C1B #D3BB24

Accessibility & contrast

On white

6.52
#6A5E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6A5E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5E12
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5E12#FFFFFF#000000##FFFFFF
##6A5E121.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B01
Deuteranopia (green-blind)
#6B6018
Tritanopia (blue-blind)
#735650
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a5e12;
/* rgb */ color: rgb(106, 94, 18);
/* oklch */ color: oklch(47.9% 0.092 99.7);
Tailwind
colors: {
  custom: {
    50: '#988b57',
    500: '#6a5e12',
    950: '#000000',
  },
}
SCSS
$custom: #6a5e12;
$custom-light: #988b57;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5e12",
  "rgb": {
    "r": 106,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 51.818,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47947,
    "c": 0.09211,
    "h": 99.7
  },
  "luminance": 0.11113
}

Semantic roles & 50–950 ramp

primary
#6A5E12
secondary
#3645A2
accent
#53EE3A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0B03
muted
#7E7C78

Preview Lab

Preview with #6A5E12

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

Preview Lab → · Contrast checker → · Palette generator →

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