#6F701B#6F701B

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

Color values

HEX#6F701B
RGBrgb(111, 112, 27)
HSLhsl(61, 61%, 27%)
HSVhsv(61, 76%, 44%)
CMYKcmyk(0.9%, 0%, 75.9%, 56.1%)
CIE-LABlab(45.70, -11.35, 44.15)
CIE-LCHlch(45.70, 45.58, 104.42°)
OKLaboklab(52.8% -0.0358 0.0975)
OKLCHoklch(52.8% 0.104 110.2)
XYZxyz(12.5480, 15.0473, 3.2801)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F701B #1C1B70
analogous
#70471B #6F701B #45701B
triadic
#6F701B #1B6F70 #701B6F
tetradic
#6F701B #1B7047 #1C1B70 #701B45
square
#6F701B #1B7047 #1C1B70 #701B45
split-complementary
#6F701B #1B4570 #471B70
monochromatic
#181906 #3E3F0F #6F701B #A0A127 #CDCF37

Accessibility & contrast

On white

5.24
#6F701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#6F701B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F701B
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F701B#FFFFFF#000000##FFFFFF
##6F701B1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f701b;
/* rgb */ color: rgb(111, 112, 27);
/* oklch */ color: oklch(52.8% 0.104 110.2);
Tailwind
colors: {
  custom: {
    50: '#9b985e',
    500: '#6f701b',
    950: '#000000',
  },
}
SCSS
$custom: #6f701b;
$custom-light: #9b985e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f701b",
  "rgb": {
    "r": 111,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 60.706,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52799,
    "c": 0.10382,
    "h": 110.2
  },
  "luminance": 0.15047
}

Semantic roles & 50–950 ramp

primary
#6F701B
secondary
#4342A5
accent
#44E445
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6F701B

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

Preview Lab → · Contrast checker → · Palette generator →

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