#6F701C#6F701C

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

Color values

HEX#6F701C
RGBrgb(111, 112, 28)
HSLhsl(61, 60%, 27%)
HSVhsv(61, 75%, 44%)
CMYKcmyk(0.9%, 0%, 75%, 56.1%)
CIE-LABlab(45.71, -11.30, 43.77)
CIE-LCHlch(45.71, 45.20, 104.47°)
OKLaboklab(52.81% -0.0355 0.0969)
OKLCHoklch(52.81% 0.103 110.1)
XYZxyz(12.5598, 15.0520, 3.3421)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F701C #1D1C70
analogous
#70471C #6F701C #45701C
triadic
#6F701C #1C6F70 #701C6F
tetradic
#6F701C #1C7047 #1D1C70 #701C45
square
#6F701C #1C7047 #1D1C70 #701C45
split-complementary
#6F701C #1C4570 #471C70
monochromatic
#181806 #3E3F10 #6F701C #A0A128 #CCCD39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F701C#FFFFFF#000000##FFFFFF
##6F701C1.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)
#796B0C
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#776960
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6f701c;
/* rgb */ color: rgb(111, 112, 28);
/* oklch */ color: oklch(52.8% 0.103 110.1);
Tailwind
colors: {
  custom: {
    50: '#9b985f',
    500: '#6f701c',
    950: '#000000',
  },
}
SCSS
$custom: #6f701c;
$custom-light: #9b985f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f701c",
  "rgb": {
    "r": 111,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 60.714,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52806,
    "c": 0.10317,
    "h": 110.1
  },
  "luminance": 0.15052
}

Semantic roles & 50–950 ramp

primary
#6F701C
secondary
#4443A5
accent
#45E347
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6F701C

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

Preview Lab → · Contrast checker → · Palette generator →

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