#6B701A#6B701A

#6B701A is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.4% C 0.106 H 112.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6B701A
RGBrgb(107, 112, 26)
HSLhsl(63, 62%, 27%)
HSVhsv(63, 77%, 44%)
CMYKcmyk(4.5%, 0%, 76.8%, 56.1%)
CIE-LABlab(45.34, -13.27, 44.06)
CIE-LCHlch(45.34, 46.02, 106.76°)
OKLaboklab(52.43% -0.041 0.0972)
OKLCHoklch(52.43% 0.106 112.9)
XYZxyz(12.0444, 14.7890, 3.1972)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B701A #1F1A70
analogous
#704A1A #6B701A #40701A
triadic
#6B701A #1A6B70 #701A6B
tetradic
#6B701A #1A704A #1F1A70 #701A40
square
#6B701A #1A704A #1F1A70 #701A40
split-complementary
#6B701A #1A4070 #4A1A70
monochromatic
#181906 #3C3E0E #6B701A #9AA226 #C7D034

Accessibility & contrast

On white

5.31
#6B701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6B701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B701A
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B701A#FFFFFF#000000##FFFFFF
##6B701A1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A08
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#736960
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6b701a;
/* rgb */ color: rgb(107, 112, 26);
/* oklch */ color: oklch(52.4% 0.106 112.9);
Tailwind
colors: {
  custom: {
    50: '#98985e',
    500: '#6b701a',
    950: '#000000',
  },
}
SCSS
$custom: #6b701a;
$custom-light: #98985e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b701a",
  "rgb": {
    "r": 107,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 63.488,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.52427,
    "c": 0.10553,
    "h": 112.9
  },
  "luminance": 0.14789
}

Semantic roles & 50–950 ramp

primary
#6B701A
secondary
#4741A5
accent
#42E54C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6B701A

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

Preview Lab → · Contrast checker → · Palette generator →

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