#6E702B#6E702B

#6E702B is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 52.9% C 0.091 H 110.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6E702B
RGBrgb(110, 112, 43)
HSLhsl(62, 45%, 30%)
HSVhsv(62, 62%, 44%)
CMYKcmyk(1.8%, 0%, 61.6%, 56.1%)
CIE-LABlab(45.74, -10.77, 37.16)
CIE-LCHlch(45.74, 38.69, 106.16°)
OKLaboklab(52.85% -0.0323 0.0855)
OKLCHoklch(52.85% 0.091 110.7)
XYZxyz(12.6610, 15.0781, 4.5284)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E702B #2D2B70
analogous
#704F2B #6E702B #4B702B
triadic
#6E702B #2B6E70 #702B6E
tetradic
#6E702B #2B704F #2D2B70 #702B4B
square
#6E702B #2B704F #2D2B70 #702B4B
split-complementary
#6E702B #2B4B70 #4F2B70
monochromatic
#171809 #43441A #6E702B #999C3C #BBBE57

Accessibility & contrast

On white

5.23
#6E702B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6E702B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E702B
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E702B#FFFFFF#000000##FFFFFF
##6E702B1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B23
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#756961
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6e702b;
/* rgb */ color: rgb(110, 112, 43);
/* oklch */ color: oklch(52.9% 0.091 110.7);
Tailwind
colors: {
  custom: {
    50: '#9a9867',
    500: '#6e702b',
    950: '#000000',
  },
}
SCSS
$custom: #6e702b;
$custom-light: #9a9867;
$custom-dark: #000000;
JSON
{
  "hex": "#6e702b",
  "rgb": {
    "r": 110,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 61.739,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52853,
    "c": 0.09137,
    "h": 110.7
  },
  "luminance": 0.15078
}

Semantic roles & 50–950 ramp

primary
#6E702B
secondary
#5755A2
accent
#54D457
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0D06
muted
#7E7E7A

Preview Lab

Preview with #6E702B

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

Preview Lab → · Contrast checker → · Palette generator →

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