#6A6915#6A6915

#6A6915 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.6% C 0.101 H 108.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6A6915
RGBrgb(106, 105, 21)
HSLhsl(59, 67%, 25%)
HSVhsv(59, 80%, 42%)
CMYKcmyk(0%, 0.9%, 80.2%, 58.4%)
CIE-LABlab(43.10, -10.10, 43.75)
CIE-LCHlch(43.10, 44.90, 102.99°)
OKLaboklab(50.6% -0.0326 0.0956)
OKLCHoklch(50.6% 0.101 108.8)
XYZxyz(11.1312, 13.2218, 2.6750)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6915 #15166A
analogous
#6A3E15 #6A6915 #416A15
triadic
#6A6915 #156A69 #69156A
tetradic
#6A6915 #156A3E #15166A #6A1541
square
#6A6915 #156A3E #15166A #6A1541
split-complementary
#6A6915 #15416A #3E156A
monochromatic
#1A1905 #37360B #6A6915 #9D9C1F #D0CE29

Accessibility & contrast

On white

5.76
#6A6915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6A6915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6915
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6915#FFFFFF#000000##FFFFFF
##6A69151.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726402
Deuteranopia (green-blind)
#73671C
Tritanopia (blue-blind)
#726259
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6a6915;
/* rgb */ color: rgb(106, 105, 21);
/* oklch */ color: oklch(50.6% 0.101 108.8);
Tailwind
colors: {
  custom: {
    50: '#98935a',
    500: '#6a6915',
    950: '#000000',
  },
}
SCSS
$custom: #6a6915;
$custom-light: #98935a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6915",
  "rgb": {
    "r": 106,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 59.294,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50598,
    "c": 0.10102,
    "h": 108.8
  },
  "luminance": 0.13221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A6915

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

Preview Lab → · Contrast checker → · Palette generator →

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