#6A5812#6A5812

#6A5812 is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.5% C 0.088 H 93.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#6A5812
RGBrgb(106, 88, 18)
HSLhsl(48, 71%, 24%)
HSVhsv(48, 83%, 42%)
CMYKcmyk(0%, 17%, 83%, 58.4%)
CIE-LABlab(38.00, -0.36, 40.19)
CIE-LCHlch(38.00, 40.19, 90.52°)
OKLaboklab(46.54% -0.0055 0.0874)
OKLCHoklch(46.54% 0.088 93.6)
XYZxyz(9.5433, 10.0879, 2.0166)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5812 #12246A
analogous
#6A2C12 #6A5812 #506A12
triadic
#6A5812 #126A58 #58126A
tetradic
#6A5812 #126A2C #12246A #6A1250
square
#6A5812 #126A2C #12246A #6A1250
split-complementary
#6A5812 #12506A #2C126A
monochromatic
#1A1604 #362D09 #6A5812 #9E831B #D3AF24

Accessibility & contrast

On white

6.96
#6A5812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6A5812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5812
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5812#FFFFFF#000000##FFFFFF
##6A58121.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625604
Deuteranopia (green-blind)
#675C17
Tritanopia (blue-blind)
#73504B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a5812;
/* rgb */ color: rgb(106, 88, 18);
/* oklch */ color: oklch(46.5% 0.088 93.6);
Tailwind
colors: {
  custom: {
    50: '#988657',
    500: '#6a5812',
    950: '#000000',
  },
}
SCSS
$custom: #6a5812;
$custom-light: #988657;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5812",
  "rgb": {
    "r": 106,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 47.727,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46544,
    "c": 0.08753,
    "h": 93.6
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#6A5812
secondary
#364CA2
accent
#5FEE3A
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B03
muted
#7E7C78

Preview Lab

Preview with #6A5812

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

Preview Lab → · Contrast checker → · Palette generator →

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