#6A701B#6A701B

#6A701B is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.3% C 0.105 H 113.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6A701B
RGBrgb(106, 112, 27)
HSLhsl(64, 61%, 27%)
HSVhsv(64, 76%, 44%)
CMYKcmyk(5.4%, 0%, 75.9%, 56.1%)
CIE-LABlab(45.26, -13.68, 43.58)
CIE-LCHlch(45.26, 45.68, 107.43°)
OKLaboklab(52.35% -0.042 0.0964)
OKLCHoklch(52.35% 0.105 113.5)
XYZxyz(11.9362, 14.7319, 3.2515)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A701B #211B70
analogous
#704B1B #6A701B #40701B
triadic
#6A701B #1B6A70 #701B6A
tetradic
#6A701B #1B704B #211B70 #701B40
square
#6A701B #1B704B #211B70 #701B40
split-complementary
#6A701B #1B4070 #4B1B70
monochromatic
#171906 #3B3F0F #6A701B #99A127 #C4CF37

Accessibility & contrast

On white

5.32
#6A701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6A701B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A701B
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A701B#FFFFFF#000000##FFFFFF
##6A701B1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A0A
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#716960
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6a701b;
/* rgb */ color: rgb(106, 112, 27);
/* oklch */ color: oklch(52.3% 0.105 113.5);
Tailwind
colors: {
  custom: {
    50: '#97985e',
    500: '#6a701b',
    950: '#000000',
  },
}
SCSS
$custom: #6a701b;
$custom-light: #97985e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a701b",
  "rgb": {
    "r": 106,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 64.235,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52345,
    "c": 0.1052,
    "h": 113.5
  },
  "luminance": 0.14732
}

Semantic roles & 50–950 ramp

primary
#6A701B
secondary
#4942A5
accent
#44E44F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6A701B

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

Preview Lab → · Contrast checker → · Palette generator →

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