#6F7015#6F7015

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

Color values

HEX#6F7015
RGBrgb(111, 112, 21)
HSLhsl(61, 68%, 26%)
HSVhsv(61, 81%, 44%)
CMYKcmyk(0.9%, 0%, 81.2%, 56.1%)
CIE-LABlab(45.66, -11.63, 46.24)
CIE-LCHlch(45.66, 47.68, 104.11°)
OKLaboklab(52.76% -0.0371 0.1007)
OKLCHoklch(52.76% 0.107 110.2)
XYZxyz(12.4855, 15.0224, 2.9512)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7015 #161570
analogous
#704315 #6F7015 #417015
triadic
#6F7015 #156F70 #70156F
tetradic
#6F7015 #157043 #161570 #701541
square
#6F7015 #157043 #161570 #701541
split-complementary
#6F7015 #154170 #431570
monochromatic
#1A1A05 #3C3C0B #6F7015 #A2A41F #D5D729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F7015#FFFFFF#000000##FFFFFF
##6F70151.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7A6D1D
Tritanopia (blue-blind)
#77685F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6f7015;
/* rgb */ color: rgb(111, 112, 21);
/* oklch */ color: oklch(52.8% 0.107 110.2);
Tailwind
colors: {
  custom: {
    50: '#9b985c',
    500: '#6f7015',
    950: '#000000',
  },
}
SCSS
$custom: #6f7015;
$custom-light: #9b985c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7015",
  "rgb": {
    "r": 111,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 60.659,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52761,
    "c": 0.10735,
    "h": 110.2
  },
  "luminance": 0.15022
}

Semantic roles & 50–950 ramp

primary
#6F7015
secondary
#3C3BA6
accent
#3DEB3E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0D04
muted
#7E7E79

Preview Lab

Preview with #6F7015

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

Preview Lab → · Contrast checker → · Palette generator →

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