#6A5E18#6A5E18

#6A5E18 is a mid, moderate yellow. Relative luminance 0.111; OKLCH L 48.0% C 0.088 H 99.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#6A5E18
RGBrgb(106, 94, 24)
HSLhsl(51, 63%, 25%)
HSVhsv(51, 77%, 42%)
CMYKcmyk(0%, 11.3%, 77.4%, 58.4%)
CIE-LABlab(39.81, -3.63, 39.52)
CIE-LCHlch(39.81, 39.69, 95.25°)
OKLaboklab(47.99% -0.0141 0.0873)
OKLCHoklch(47.99% 0.088 99.2)
XYZxyz(10.1119, 11.1360, 2.4808)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5E18 #18246A
analogous
#6A3518 #6A5E18 #4D6A18
triadic
#6A5E18 #186A5E #5E186A
tetradic
#6A5E18 #186A35 #18246A #6A184D
square
#6A5E18 #186A35 #18246A #6A184D
split-complementary
#6A5E18 #184D6A #35186A
monochromatic
#191606 #38320D #6A5E18 #9C8A23 #CEB72F

Accessibility & contrast

On white

6.51
#6A5E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6A5E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5E18
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5E18#FFFFFF#000000##FFFFFF
##6A5E181.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0C
Deuteranopia (green-blind)
#6B601D
Tritanopia (blue-blind)
#735750
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a5e18;
/* rgb */ color: rgb(106, 94, 24);
/* oklch */ color: oklch(48.0% 0.088 99.2);
Tailwind
colors: {
  custom: {
    50: '#988b5a',
    500: '#6a5e18',
    950: '#000000',
  },
}
SCSS
$custom: #6a5e18;
$custom-light: #988b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5e18",
  "rgb": {
    "r": 106,
    "g": 94,
    "b": 24
  },
  "hsl": {
    "h": 51.22,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47988,
    "c": 0.0884,
    "h": 99.2
  },
  "luminance": 0.11136
}

Semantic roles & 50–950 ramp

primary
#6A5E18
secondary
#3E4CA0
accent
#5AE642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #6A5E18

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

Preview Lab → · Contrast checker → · Palette generator →

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