#6A5F12#6A5F12

#6A5F12 is a mid, moderate yellow. Relative luminance 0.113; OKLCH L 48.2% C 0.093 H 100.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6A5F12
RGBrgb(106, 95, 18)
HSLhsl(53, 71%, 24%)
HSVhsv(53, 83%, 42%)
CMYKcmyk(0%, 10.4%, 83%, 58.4%)
CIE-LABlab(40.07, -4.49, 42.05)
CIE-LCHlch(40.07, 42.29, 96.10°)
OKLaboklab(48.18% -0.0172 0.0914)
OKLCHoklch(48.18% 0.093 100.6)
XYZxyz(10.1458, 11.2928, 2.2175)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5F12 #121D6A
analogous
#6A3312 #6A5F12 #496A12
triadic
#6A5F12 #126A5F #5F126A
tetradic
#6A5F12 #126A33 #121D6A #6A1249
square
#6A5F12 #126A33 #121D6A #6A1249
split-complementary
#6A5F12 #12496A #33126A
monochromatic
#1A1704 #363009 #6A5F12 #9E8E1B #D3BD24

Accessibility & contrast

On white

6.44
#6A5F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6A5F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5F12
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5F12#FFFFFF#000000##FFFFFF
##6A5F121.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C01
Deuteranopia (green-blind)
#6C6018
Tritanopia (blue-blind)
#735751
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a5f12;
/* rgb */ color: rgb(106, 95, 18);
/* oklch */ color: oklch(48.2% 0.093 100.6);
Tailwind
colors: {
  custom: {
    50: '#988c58',
    500: '#6a5f12',
    950: '#000000',
  },
}
SCSS
$custom: #6a5f12;
$custom-light: #988c58;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5f12",
  "rgb": {
    "r": 106,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 52.5,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48183,
    "c": 0.09297,
    "h": 100.6
  },
  "luminance": 0.11292
}

Semantic roles & 50–950 ramp

primary
#6A5F12
secondary
#3644A2
accent
#51EE3A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C03
muted
#7E7D78

Preview Lab

Preview with #6A5F12

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

Preview Lab → · Contrast checker → · Palette generator →

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