#6A6A18#6A6A18

#6A6A18 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.9% C 0.100 H 109.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#6A6A18
RGBrgb(106, 106, 24)
HSLhsl(60, 63%, 25%)
HSVhsv(60, 77%, 42%)
CMYKcmyk(0%, 0%, 77.4%, 58.4%)
CIE-LABlab(43.42, -10.52, 42.96)
CIE-LCHlch(43.42, 44.23, 103.76°)
OKLaboklab(50.86% -0.0335 0.0946)
OKLCHoklch(50.86% 0.1 109.5)
XYZxyz(11.2632, 13.4385, 2.8646)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6A18 #18186A
analogous
#6A4118 #6A6A18 #416A18
triadic
#6A6A18 #186A6A #6A186A
tetradic
#6A6A18 #186A41 #18186A #6A1841
square
#6A6A18 #186A41 #18186A #6A1841
split-complementary
#6A6A18 #18416A #41186A
monochromatic
#191906 #38380D #6A6A18 #9C9C23 #CECE2F

Accessibility & contrast

On white

5.69
#6A6A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#6A6A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6A18
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6A18#FFFFFF#000000##FFFFFF
##6A6A181.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736507
Deuteranopia (green-blind)
#74681E
Tritanopia (blue-blind)
#72635A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6a6a18;
/* rgb */ color: rgb(106, 106, 24);
/* oklch */ color: oklch(50.9% 0.100 109.5);
Tailwind
colors: {
  custom: {
    50: '#97945c',
    500: '#6a6a18',
    950: '#000000',
  },
}
SCSS
$custom: #6a6a18;
$custom-light: #97945c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6a18",
  "rgb": {
    "r": 106,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.5086,
    "c": 0.1003,
    "h": 109.5
  },
  "luminance": 0.13438
}

Semantic roles & 50–950 ramp

primary
#6A6A18
secondary
#3E3EA0
accent
#42E642
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A6A18

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

Preview Lab → · Contrast checker → · Palette generator →

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