#6A6724#6A6724

#6A6724 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.2% C 0.088 H 106.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6A6724
RGBrgb(106, 103, 36)
HSLhsl(57, 49%, 28%)
HSVhsv(57, 66%, 42%)
CMYKcmyk(0%, 2.8%, 66%, 58.4%)
CIE-LABlab(42.60, -8.10, 37.01)
CIE-LCHlch(42.60, 37.89, 102.34°)
OKLaboklab(50.24% -0.0253 0.0842)
OKLCHoklch(50.24% 0.088 106.7)
XYZxyz(11.1129, 12.8924, 3.5718)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6724 #24276A
analogous
#6A4424 #6A6724 #4A6A24
triadic
#6A6724 #246A67 #67246A
tetradic
#6A6724 #246A44 #24276A #6A244A
square
#6A6724 #246A44 #24276A #6A244A
split-complementary
#6A6724 #244A6A #44246A
monochromatic
#171608 #3C3B14 #6A6724 #989334 #C1BC48

Accessibility & contrast

On white

5.87
#6A6724 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6A6724 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6724
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6724#FFFFFF#000000##FFFFFF
##6A67241.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70631C
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#726059
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a6724;
/* rgb */ color: rgb(106, 103, 36);
/* oklch */ color: oklch(50.2% 0.088 106.7);
Tailwind
colors: {
  custom: {
    50: '#979262',
    500: '#6a6724',
    950: '#000000',
  },
}
SCSS
$custom: #6a6724;
$custom-light: #979262;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6724",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 36
  },
  "hsl": {
    "h": 57.429,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50239,
    "c": 0.08793,
    "h": 106.7
  },
  "luminance": 0.12892
}

Semantic roles & 50–950 ramp

primary
#6A6724
secondary
#4D509D
accent
#55D94F
background
#F9F8F5
surface
#F2F0EA
border
#CCCBC6
text
#0E0C05
muted
#7E7D79

Preview Lab

Preview with #6A6724

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

Preview Lab → · Contrast checker → · Palette generator →

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