#6A6B22#6A6B22

#6A6B22 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.2% C 0.094 H 110.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6A6B22
RGBrgb(106, 107, 34)
HSLhsl(61, 52%, 28%)
HSVhsv(61, 68%, 42%)
CMYKcmyk(0.9%, 0%, 68.2%, 58%)
CIE-LABlab(43.79, -10.50, 39.19)
CIE-LCHlch(43.79, 40.57, 104.99°)
OKLaboklab(51.18% -0.0323 0.0885)
OKLCHoklch(51.18% 0.094 110.1)
XYZxyz(11.4906, 13.6954, 3.5512)
Luminance0.1369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6B22 #23226B
analogous
#6B4722 #6A6B22 #456B22
triadic
#6A6B22 #226A6B #6B226A
tetradic
#6A6B22 #226B47 #23226B #6B2245
square
#6A6B22 #226B47 #23226B #6B2245
split-complementary
#6A6B22 #22456B #47226B
monochromatic
#171707 #3C3D13 #6A6B22 #989931 #C2C444

Accessibility & contrast

On white

5.62
#6A6B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6A6B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6B22
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6B22#FFFFFF#000000##FFFFFF
##6A6B221.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746618
Deuteranopia (green-blind)
#746927
Tritanopia (blue-blind)
#72645C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6a6b22;
/* rgb */ color: rgb(106, 107, 34);
/* oklch */ color: oklch(51.2% 0.094 110.1);
Tailwind
colors: {
  custom: {
    50: '#979561',
    500: '#6a6b22',
    950: '#000000',
  },
}
SCSS
$custom: #6a6b22;
$custom-light: #979561;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6b22",
  "rgb": {
    "r": 106,
    "g": 107,
    "b": 34
  },
  "hsl": {
    "h": 60.822,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51184,
    "c": 0.0942,
    "h": 110.1
  },
  "luminance": 0.13695
}

Semantic roles & 50–950 ramp

primary
#6A6B22
secondary
#4B4A9F
accent
#4DDB4F
background
#F9F9F5
surface
#F2F1EA
border
#CCCBC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6A6B22

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

Preview Lab → · Contrast checker → · Palette generator →

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