#6D701B#6D701B

#6D701B is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.6% C 0.104 H 111.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6D701B
RGBrgb(109, 112, 27)
HSLhsl(62, 61%, 27%)
HSVhsv(62, 76%, 44%)
CMYKcmyk(2.7%, 0%, 75.9%, 56.1%)
CIE-LABlab(45.52, -12.29, 43.92)
CIE-LCHlch(45.52, 45.60, 105.63°)
OKLaboklab(52.62% -0.0383 0.0971)
OKLCHoklch(52.62% 0.104 111.5)
XYZxyz(12.2991, 14.9190, 3.2685)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D701B #1E1B70
analogous
#70491B #6D701B #42701B
triadic
#6D701B #1B6D70 #701B6D
tetradic
#6D701B #1B7049 #1E1B70 #701B42
square
#6D701B #1B7049 #1E1B70 #701B42
split-complementary
#6D701B #1B4270 #491B70
monochromatic
#181906 #3D3F0F #6D701B #9DA127 #C9CF37

Accessibility & contrast

On white

5.27
#6D701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6D701B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D701B
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D701B#FFFFFF#000000##FFFFFF
##6D701B1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B0A
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#756960
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6d701b;
/* rgb */ color: rgb(109, 112, 27);
/* oklch */ color: oklch(52.6% 0.104 111.5);
Tailwind
colors: {
  custom: {
    50: '#9a985e',
    500: '#6d701b',
    950: '#000000',
  },
}
SCSS
$custom: #6d701b;
$custom-light: #9a985e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d701b",
  "rgb": {
    "r": 109,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 62.118,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52615,
    "c": 0.10433,
    "h": 111.5
  },
  "luminance": 0.14919
}

Semantic roles & 50–950 ramp

primary
#6D701B
secondary
#4542A5
accent
#44E449
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6D701B

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

Preview Lab → · Contrast checker → · Palette generator →

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