#6A6F11#6A6F11

#6A6F11 is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.0% C 0.110 H 112.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6A6F11
RGBrgb(106, 111, 17)
HSLhsl(63, 73%, 25%)
HSVhsv(63, 85%, 44%)
CMYKcmyk(4.5%, 0%, 84.7%, 56.5%)
CIE-LABlab(44.90, -13.58, 46.64)
CIE-LCHlch(44.90, 48.58, 106.24°)
OKLaboklab(52.04% -0.0426 0.101)
OKLCHoklch(52.04% 0.11 112.9)
XYZxyz(11.7299, 14.4738, 2.7060)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6F11 #16116F
analogous
#6F4511 #6A6F11 #3B6F11
triadic
#6A6F11 #116A6F #6F116A
tetradic
#6A6F11 #116F45 #16116F #6F113B
square
#6A6F11 #116F45 #16116F #6F113B
split-complementary
#6A6F11 #113B6F #45116F
monochromatic
#191B04 #373A09 #6A6F11 #9DA419 #CFD921

Accessibility & contrast

On white

5.39
#6A6F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6A6F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6F11
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6F11#FFFFFF#000000##FFFFFF
##6A6F111.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#786B1A
Tritanopia (blue-blind)
#72685E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6a6f11;
/* rgb */ color: rgb(106, 111, 17);
/* oklch */ color: oklch(52.0% 0.110 112.9);
Tailwind
colors: {
  custom: {
    50: '#98985a',
    500: '#6a6f11',
    950: '#000000',
  },
}
SCSS
$custom: #6a6f11;
$custom-light: #98985a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6f11",
  "rgb": {
    "r": 106,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 63.191,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.52039,
    "c": 0.10964,
    "h": 112.9
  },
  "luminance": 0.14474
}

Semantic roles & 50–950 ramp

primary
#6A6F11
secondary
#3B35A6
accent
#38F042
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A6F11

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

Preview Lab → · Contrast checker → · Palette generator →

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