#6B7115#6B7115

#6B7115 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 52.6% C 0.110 H 113.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6B7115
RGBrgb(107, 113, 21)
HSLhsl(64, 69%, 26%)
HSVhsv(64, 81%, 44%)
CMYKcmyk(5.3%, 0%, 81.4%, 55.7%)
CIE-LABlab(45.62, -14.05, 46.07)
CIE-LCHlch(45.62, 48.17, 106.96°)
OKLaboklab(52.64% -0.0436 0.1005)
OKLCHoklch(52.64% 0.11 113.5)
XYZxyz(12.1043, 14.9905, 2.9651)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7115 #1B1571
analogous
#714915 #6B7115 #3D7115
triadic
#6B7115 #156B71 #71156B
tetradic
#6B7115 #157149 #1B1571 #71153D
square
#6B7115 #157149 #1B1571 #71153D
split-complementary
#6B7115 #153D71 #491571
monochromatic
#181A05 #3A3D0B #6B7115 #9CA51F #CCD729

Accessibility & contrast

On white

5.25
#6B7115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B7115
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7115#FFFFFF#000000##FFFFFF
##6B71151.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b7115;
/* rgb */ color: rgb(107, 113, 21);
/* oklch */ color: oklch(52.6% 0.110 113.5);
Tailwind
colors: {
  custom: {
    50: '#98995c',
    500: '#6b7115',
    950: '#000000',
  },
}
SCSS
$custom: #6b7115;
$custom-light: #98995c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7115",
  "rgb": {
    "r": 107,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 63.913,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.52641,
    "c": 0.10959,
    "h": 113.5
  },
  "luminance": 0.1499
}

Semantic roles & 50–950 ramp

primary
#6B7115
secondary
#423BA7
accent
#3CEB48
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6B7115

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

Preview Lab → · Contrast checker → · Palette generator →

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