#6B7015#6B7015

#6B7015 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.4% C 0.108 H 112.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6B7015
RGBrgb(107, 112, 21)
HSLhsl(63, 68%, 26%)
HSVhsv(63, 81%, 44%)
CMYKcmyk(4.5%, 0%, 81.2%, 56.1%)
CIE-LABlab(45.32, -13.51, 45.80)
CIE-LCHlch(45.32, 47.75, 106.43°)
OKLaboklab(52.4% -0.0421 0.0999)
OKLCHoklch(52.4% 0.108 112.9)
XYZxyz(11.9933, 14.7686, 2.9282)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7015 #1A1570
analogous
#704715 #6B7015 #3D7015
triadic
#6B7015 #156B70 #70156B
tetradic
#6B7015 #157047 #1A1570 #70153D
square
#6B7015 #157047 #1A1570 #70153D
split-complementary
#6B7015 #153D70 #471570
monochromatic
#191A05 #3A3C0B #6B7015 #9CA41F #CDD729

Accessibility & contrast

On white

5.31
#6B7015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6B7015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7015
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7015#FFFFFF#000000##FFFFFF
##6B70151.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#796C1D
Tritanopia (blue-blind)
#73695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6b7015;
/* rgb */ color: rgb(107, 112, 21);
/* oklch */ color: oklch(52.4% 0.108 112.9);
Tailwind
colors: {
  custom: {
    50: '#98985b',
    500: '#6b7015',
    950: '#000000',
  },
}
SCSS
$custom: #6b7015;
$custom-light: #98985b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7015",
  "rgb": {
    "r": 107,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 63.297,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52396,
    "c": 0.10845,
    "h": 112.9
  },
  "luminance": 0.14768
}

Semantic roles & 50–950 ramp

primary
#6B7015
secondary
#403BA6
accent
#3DEB46
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6B7015

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

Preview Lab → · Contrast checker → · Palette generator →

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