#6A6A0F#6A6A0F

#6A6A0F is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.8% C 0.105 H 109.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#6A6A0F
RGBrgb(106, 106, 15)
HSLhsl(60, 75%, 24%)
HSVhsv(60, 86%, 42%)
CMYKcmyk(0%, 0%, 85.8%, 58.4%)
CIE-LABlab(43.37, -10.89, 45.90)
CIE-LCHlch(43.37, 47.17, 103.35°)
OKLaboklab(50.81% -0.0353 0.099)
OKLCHoklch(50.81% 0.105 109.6)
XYZxyz(11.1846, 13.4071, 2.4505)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6A0F #0F0F6A
analogous
#6A3C0F #6A6A0F #3C6A0F
triadic
#6A6A0F #0F6A6A #6A0F6A
tetradic
#6A6A0F #0F6A3C #0F0F6A #6A0F3C
square
#6A6A0F #0F6A3C #0F0F6A #6A0F3C
split-complementary
#6A6A0F #0F3C6A #3C0F6A
monochromatic
#1B1B04 #343407 #6A6A0F #A0A017 #D5D51E

Accessibility & contrast

On white

5.70
#6A6A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#6A6A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6A0F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6A0F#FFFFFF#000000##FFFFFF
##6A6A0F1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#746818
Tritanopia (blue-blind)
#72635A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6a6a0f;
/* rgb */ color: rgb(106, 106, 15);
/* oklch */ color: oklch(50.8% 0.105 109.6);
Tailwind
colors: {
  custom: {
    50: '#989458',
    500: '#6a6a0f',
    950: '#000000',
  },
}
SCSS
$custom: #6a6a0f;
$custom-light: #989458;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6a0f",
  "rgb": {
    "r": 106,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 60,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.50809,
    "c": 0.10512,
    "h": 109.6
  },
  "luminance": 0.13407
}

Semantic roles & 50–950 ramp

primary
#6A6A0F
secondary
#3232A2
accent
#36F236
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A6A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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