#6A5D12#6A5D12

#6A5D12 is a mid, moderate yellow. Relative luminance 0.109; OKLCH L 47.7% C 0.091 H 98.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#6A5D12
RGBrgb(106, 93, 18)
HSLhsl(51, 71%, 24%)
HSVhsv(51, 83%, 42%)
CMYKcmyk(0%, 12.3%, 83%, 58.4%)
CIE-LABlab(39.47, -3.32, 41.52)
CIE-LCHlch(39.47, 41.65, 94.58°)
OKLaboklab(47.71% -0.0139 0.0902)
OKLCHoklch(47.71% 0.091 98.7)
XYZxyz(9.9679, 10.9371, 2.1582)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5D12 #121F6A
analogous
#6A3112 #6A5D12 #4B6A12
triadic
#6A5D12 #126A5D #5D126A
tetradic
#6A5D12 #126A31 #121F6A #6A124B
square
#6A5D12 #126A31 #121F6A #6A124B
split-complementary
#6A5D12 #124B6A #31126A
monochromatic
#1A1704 #362F09 #6A5D12 #9E8B1B #D3B924

Accessibility & contrast

On white

6.59
#6A5D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6A5D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5D12
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5D12#FFFFFF#000000##FFFFFF
##6A5D121.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A02
Deuteranopia (green-blind)
#6B5F18
Tritanopia (blue-blind)
#73554F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6a5d12;
/* rgb */ color: rgb(106, 93, 18);
/* oklch */ color: oklch(47.7% 0.091 98.7);
Tailwind
colors: {
  custom: {
    50: '#988a57',
    500: '#6a5d12',
    950: '#000000',
  },
}
SCSS
$custom: #6a5d12;
$custom-light: #988a57;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5d12",
  "rgb": {
    "r": 106,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 51.136,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47711,
    "c": 0.09128,
    "h": 98.7
  },
  "luminance": 0.10937
}

Semantic roles & 50–950 ramp

primary
#6A5D12
secondary
#3646A2
accent
#55EE3A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0B03
muted
#7E7C78

Preview Lab

Preview with #6A5D12

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

Preview Lab → · Contrast checker → · Palette generator →

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