#6E701B#6E701B

#6E701B is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 52.7% C 0.104 H 110.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6E701B
RGBrgb(110, 112, 27)
HSLhsl(61, 61%, 27%)
HSVhsv(61, 76%, 44%)
CMYKcmyk(1.8%, 0%, 75.9%, 56.1%)
CIE-LABlab(45.61, -11.82, 44.03)
CIE-LCHlch(45.61, 45.59, 105.02°)
OKLaboklab(52.71% -0.037 0.0973)
OKLCHoklch(52.71% 0.104 110.8)
XYZxyz(12.4228, 14.9828, 3.2743)
Luminance0.1498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E701B #1D1B70
analogous
#70481B #6E701B #43701B
triadic
#6E701B #1B6E70 #701B6E
tetradic
#6E701B #1B7048 #1D1B70 #701B43
square
#6E701B #1B7048 #1D1B70 #701B43
split-complementary
#6E701B #1B4370 #481B70
monochromatic
#181906 #3E3F0F #6E701B #9EA127 #CBCF37

Accessibility & contrast

On white

5.25
#6E701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6E701B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E701B
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E701B#FFFFFF#000000##FFFFFF
##6E701B1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e701b;
/* rgb */ color: rgb(110, 112, 27);
/* oklch */ color: oklch(52.7% 0.104 110.8);
Tailwind
colors: {
  custom: {
    50: '#9a985e',
    500: '#6e701b',
    950: '#000000',
  },
}
SCSS
$custom: #6e701b;
$custom-light: #9a985e;
$custom-dark: #000000;
JSON
{
  "hex": "#6e701b",
  "rgb": {
    "r": 110,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 61.412,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52707,
    "c": 0.10407,
    "h": 110.8
  },
  "luminance": 0.14982
}

Semantic roles & 50–950 ramp

primary
#6E701B
secondary
#4442A5
accent
#44E447
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6E701B

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

Preview Lab → · Contrast checker → · Palette generator →

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