#6B6A15#6B6A15

#6B6A15 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 50.9% C 0.102 H 108.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6B6A15
RGBrgb(107, 106, 21)
HSLhsl(59, 67%, 25%)
HSVhsv(59, 80%, 42%)
CMYKcmyk(0%, 0.9%, 80.4%, 58%)
CIE-LABlab(43.49, -10.18, 44.14)
CIE-LCHlch(43.49, 45.30, 102.99°)
OKLaboklab(50.94% -0.0329 0.0964)
OKLCHoklch(50.94% 0.102 108.8)
XYZxyz(11.3532, 13.4884, 2.7148)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6A15 #15166B
analogous
#6B3F15 #6B6A15 #416B15
triadic
#6B6A15 #156B6A #6A156B
tetradic
#6B6A15 #156B3F #15166B #6B1541
square
#6B6A15 #156B3F #15166B #6B1541
split-complementary
#6B6A15 #15416B #3F156B
monochromatic
#1A1905 #38370B #6B6A15 #9E9D1F #D1CF29

Accessibility & contrast

On white

5.68
#6B6A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6B6A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6A15
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6A15#FFFFFF#000000##FFFFFF
##6B6A151.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736501
Deuteranopia (green-blind)
#75681C
Tritanopia (blue-blind)
#73635A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6b6a15;
/* rgb */ color: rgb(107, 106, 21);
/* oklch */ color: oklch(50.9% 0.102 108.8);
Tailwind
colors: {
  custom: {
    50: '#98945b',
    500: '#6b6a15',
    950: '#000000',
  },
}
SCSS
$custom: #6b6a15;
$custom-light: #98945b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6a15",
  "rgb": {
    "r": 107,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 59.302,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50936,
    "c": 0.10187,
    "h": 108.8
  },
  "luminance": 0.13488
}

Semantic roles & 50–950 ramp

primary
#6B6A15
secondary
#3A3BA2
accent
#40EA3E
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6B6A15

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

Preview Lab → · Contrast checker → · Palette generator →

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