#6A6701#6A6701

#6A6701 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.0% C 0.107 H 107.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#6A6701
RGBrgb(106, 103, 1)
HSLhsl(58, 98%, 21%)
HSVhsv(58, 99%, 42%)
CMYKcmyk(0%, 2.8%, 99.1%, 58.4%)
CIE-LABlab(42.41, -9.59, 48.61)
CIE-LCHlch(42.41, 49.55, 101.16°)
OKLaboklab(50.03% -0.0326 0.1022)
OKLCHoklch(50.03% 0.107 107.7)
XYZxyz(10.8001, 12.7673, 1.9241)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6701 #01046A
analogous
#6A3201 #6A6701 #386A01
triadic
#6A6701 #016A67 #67016A
tetradic
#6A6701 #016A32 #01046A #6A0138
square
#6A6701 #016A32 #01046A #6A0138
split-complementary
#6A6701 #01386A #32016A
monochromatic
#1E1D00 #2D2C00 #6A6701 #A7A202 #E3DD02

Accessibility & contrast

On white

5.91
#6A6701 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6A6701 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6701
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6701#FFFFFF#000000##FFFFFF
##6A67011.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716200
Deuteranopia (green-blind)
#72660E
Tritanopia (blue-blind)
#735F57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a6701;
/* rgb */ color: rgb(106, 103, 1);
/* oklch */ color: oklch(50.0% 0.107 107.7);
Tailwind
colors: {
  custom: {
    50: '#989253',
    500: '#6a6701',
    950: '#000000',
  },
}
SCSS
$custom: #6a6701;
$custom-light: #989253;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6701",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 1
  },
  "hsl": {
    "h": 58.286,
    "s": 98.131,
    "l": 20.98
  },
  "oklch": {
    "l": 0.50026,
    "c": 0.10732,
    "h": 107.7
  },
  "luminance": 0.12767
}

Semantic roles & 50–950 ramp

primary
#6A6701
secondary
#1F23A8
accent
#2FFF29
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C03
muted
#7E7D78

Preview Lab

Preview with #6A6701

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

Preview Lab → · Contrast checker → · Palette generator →

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