#6A5412#6A5412

#6A5412 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.6% C 0.085 H 89.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#6A5412
RGBrgb(106, 84, 18)
HSLhsl(45, 71%, 24%)
HSVhsv(45, 83%, 42%)
CMYKcmyk(0%, 20.8%, 83%, 58.4%)
CIE-LABlab(36.84, 2.03, 39.13)
CIE-LCHlch(36.84, 39.18, 87.02°)
OKLaboklab(45.63% 0.0014 0.0851)
OKLCHoklch(45.63% 0.085 89.1)
XYZxyz(9.2239, 9.4491, 1.9102)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5412 #12286A
analogous
#6A2812 #6A5412 #546A12
triadic
#6A5412 #126A54 #54126A
tetradic
#6A5412 #126A28 #12286A #6A1254
square
#6A5412 #126A28 #12286A #6A1254
split-complementary
#6A5412 #12546A #28126A
monochromatic
#1A1504 #362B09 #6A5412 #9E7D1B #D3A724

Accessibility & contrast

On white

7.27
#6A5412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6A5412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A5412
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5412#FFFFFF#000000##FFFFFF
##6A54121.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5305
Deuteranopia (green-blind)
#645916
Tritanopia (blue-blind)
#744C47
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a5412;
/* rgb */ color: rgb(106, 84, 18);
/* oklch */ color: oklch(45.6% 0.085 89.1);
Tailwind
colors: {
  custom: {
    50: '#988356',
    500: '#6a5412',
    950: '#000000',
  },
}
SCSS
$custom: #6a5412;
$custom-light: #988356;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5412",
  "rgb": {
    "r": 106,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 45,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45625,
    "c": 0.08509,
    "h": 89.1
  },
  "luminance": 0.09448
}

Semantic roles & 50–950 ramp

primary
#6A5412
secondary
#3651A2
accent
#67EE3A
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0A03
muted
#7E7C78

Preview Lab

Preview with #6A5412

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

Preview Lab → · Contrast checker → · Palette generator →

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