#6A660F#6A660F

#6A660F is a mid, moderate yellow. Relative luminance 0.126; OKLCH L 49.8% C 0.101 H 106.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6A660F
RGBrgb(106, 102, 15)
HSLhsl(57, 75%, 24%)
HSVhsv(57, 86%, 42%)
CMYKcmyk(0%, 3.8%, 85.8%, 58.4%)
CIE-LABlab(42.16, -8.64, 44.85)
CIE-LCHlch(42.16, 45.68, 100.90°)
OKLaboklab(49.84% -0.029 0.0968)
OKLCHoklch(49.84% 0.101 106.7)
XYZxyz(10.7819, 12.6018, 2.3163)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A660F #0F136A
analogous
#6A380F #6A660F #406A0F
triadic
#6A660F #0F6A66 #660F6A
tetradic
#6A660F #0F6A38 #0F136A #6A0F40
square
#6A660F #0F6A38 #0F136A #6A0F40
split-complementary
#6A660F #0F406A #380F6A
monochromatic
#1B1A04 #343207 #6A660F #A09A17 #D5CD1E

Accessibility & contrast

On white

5.97
#6A660F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6A660F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A660F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A660F#FFFFFF#000000##FFFFFF
##6A660F1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#716517
Tritanopia (blue-blind)
#735E56
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6a660f;
/* rgb */ color: rgb(106, 102, 15);
/* oklch */ color: oklch(49.8% 0.101 106.7);
Tailwind
colors: {
  custom: {
    50: '#989157',
    500: '#6a660f',
    950: '#000000',
  },
}
SCSS
$custom: #6a660f;
$custom-light: #989157;
$custom-dark: #000000;
JSON
{
  "hex": "#6a660f",
  "rgb": {
    "r": 106,
    "g": 102,
    "b": 15
  },
  "hsl": {
    "h": 57.363,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4984,
    "c": 0.10103,
    "h": 106.7
  },
  "luminance": 0.12601
}

Semantic roles & 50–950 ramp

primary
#6A660F
secondary
#3237A2
accent
#3EF236
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A660F

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

Preview Lab → · Contrast checker → · Palette generator →

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