#6A6C14#6A6C14

#6A6C14 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.3% C 0.105 H 110.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6A6C14
RGBrgb(106, 108, 20)
HSLhsl(61, 69%, 25%)
HSVhsv(61, 81%, 42%)
CMYKcmyk(1.9%, 0%, 81.5%, 57.6%)
CIE-LABlab(44.00, -11.81, 44.91)
CIE-LCHlch(44.00, 46.44, 104.74°)
OKLaboklab(51.32% -0.0375 0.0979)
OKLCHoklch(51.32% 0.105 110.9)
XYZxyz(11.4331, 13.8401, 2.7308)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6C14 #16146C
analogous
#6C4214 #6A6C14 #3E6C14
triadic
#6A6C14 #146A6C #6C146A
tetradic
#6A6C14 #146C42 #16146C #6C143E
square
#6A6C14 #146C42 #16146C #6C143E
split-complementary
#6A6C14 #143E6C #42146C
monochromatic
#191A05 #37380A #6A6C14 #9DA01E #CFD327

Accessibility & contrast

On white

5.57
#6A6C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6A6C14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6C14
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6C14#FFFFFF#000000##FFFFFF
##6A6C141.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#76691C
Tritanopia (blue-blind)
#72655C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6a6c14;
/* rgb */ color: rgb(106, 108, 20);
/* oklch */ color: oklch(51.3% 0.105 110.9);
Tailwind
colors: {
  custom: {
    50: '#98955a',
    500: '#6a6c14',
    950: '#000000',
  },
}
SCSS
$custom: #6a6c14;
$custom-light: #98955a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6c14",
  "rgb": {
    "r": 106,
    "g": 108,
    "b": 20
  },
  "hsl": {
    "h": 61.364,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.51322,
    "c": 0.10482,
    "h": 110.9
  },
  "luminance": 0.1384
}

Semantic roles & 50–950 ramp

primary
#6A6C14
secondary
#3B39A3
accent
#3CEC40
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A6C14

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

Preview Lab → · Contrast checker → · Palette generator →

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