#6B7915#6B7915

#6B7915 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 54.6% C 0.119 H 117.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#6B7915
RGBrgb(107, 121, 21)
HSLhsl(68, 70%, 28%)
HSVhsv(68, 83%, 47%)
CMYKcmyk(11.6%, 0%, 82.6%, 52.5%)
CIE-LABlab(48.08, -18.34, 48.27)
CIE-LCHlch(48.08, 51.64, 110.80°)
OKLaboklab(54.61% -0.0554 0.1052)
OKLCHoklch(54.61% 0.119 117.8)
XYZxyz(13.0365, 16.8548, 3.2759)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7915 #231579
analogous
#795515 #6B7915 #397915
triadic
#6B7915 #156B79 #79156B
tetradic
#6B7915 #157955 #231579 #791539
square
#6B7915 #157955 #231579 #791539
split-complementary
#6B7915 #153979 #551579
monochromatic
#171A05 #3D450C #6B7915 #99AD1E #C2DB2E

Accessibility & contrast

On white

4.80
#6B7915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#6B7915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7915
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7915#FFFFFF#000000##FFFFFF
##6B79151.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#80731F
Tritanopia (blue-blind)
#727267
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6b7915;
/* rgb */ color: rgb(107, 121, 21);
/* oklch */ color: oklch(54.6% 0.119 117.8);
Tailwind
colors: {
  custom: {
    50: '#999f5d',
    500: '#6b7915',
    950: '#000000',
  },
}
SCSS
$custom: #6b7915;
$custom-light: #999f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7915",
  "rgb": {
    "r": 107,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 68.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54613,
    "c": 0.11895,
    "h": 117.8
  },
  "luminance": 0.16855
}

Semantic roles & 50–950 ramp

primary
#6B7915
secondary
#4B3BAF
accent
#3BED54
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B7915

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

Preview Lab → · Contrast checker → · Palette generator →

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