#6A620F#6A620F

#6A620F is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.9% C 0.097 H 103.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#6A620F
RGBrgb(106, 98, 15)
HSLhsl(55, 75%, 24%)
HSVhsv(55, 86%, 42%)
CMYKcmyk(0%, 7.5%, 85.8%, 58.4%)
CIE-LABlab(40.95, -6.35, 43.82)
CIE-LCHlch(40.95, 44.27, 98.24°)
OKLaboklab(48.88% -0.0226 0.0945)
OKLCHoklch(48.88% 0.097 103.5)
XYZxyz(10.3983, 11.8345, 2.1884)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A620F #0F176A
analogous
#6A340F #6A620F #446A0F
triadic
#6A620F #0F6A62 #620F6A
tetradic
#6A620F #0F6A34 #0F176A #6A0F44
square
#6A620F #0F6A34 #0F176A #6A0F44
split-complementary
#6A620F #0F446A #340F6A
monochromatic
#1B1904 #343007 #6A620F #A09417 #D5C51E

Accessibility & contrast

On white

6.24
#6A620F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6A620F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A620F
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A620F#FFFFFF#000000##FFFFFF
##6A620F1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#6E6216
Tritanopia (blue-blind)
#735A53
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a620f;
/* rgb */ color: rgb(106, 98, 15);
/* oklch */ color: oklch(48.9% 0.097 103.5);
Tailwind
colors: {
  custom: {
    50: '#988e57',
    500: '#6a620f',
    950: '#000000',
  },
}
SCSS
$custom: #6a620f;
$custom-light: #988e57;
$custom-dark: #000000;
JSON
{
  "hex": "#6a620f",
  "rgb": {
    "r": 106,
    "g": 98,
    "b": 15
  },
  "hsl": {
    "h": 54.725,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4888,
    "c": 0.0972,
    "h": 103.5
  },
  "luminance": 0.11834
}

Semantic roles & 50–950 ramp

primary
#6A620F
secondary
#323CA2
accent
#47F236
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C03
muted
#7E7D78

Preview Lab

Preview with #6A620F

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

Preview Lab → · Contrast checker → · Palette generator →

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