#6B7A15#6B7A15

#6B7A15 is a mid, vivid yellow. Relative luminance 0.171; OKLCH L 54.9% C 0.120 H 118.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#6B7A15
RGBrgb(107, 122, 21)
HSLhsl(69, 71%, 28%)
HSVhsv(69, 83%, 48%)
CMYKcmyk(12.3%, 0%, 82.8%, 52.2%)
CIE-LABlab(48.38, -18.86, 48.55)
CIE-LCHlch(48.38, 52.08, 111.23°)
OKLaboklab(54.86% -0.0569 0.1058)
OKLCHoklch(54.86% 0.12 118.3)
XYZxyz(13.1586, 17.0991, 3.3166)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7A15 #24157A
analogous
#7A5615 #6B7A15 #387A15
triadic
#6B7A15 #156B7A #7A156B
tetradic
#6B7A15 #157A56 #24157A #7A1538
square
#6B7A15 #157A56 #24157A #7A1538
split-complementary
#6B7A15 #15387A #56157A
monochromatic
#171A04 #3D460C #6B7A15 #99AE1E #C1DB2E

Accessibility & contrast

On white

4.75
#6B7A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#6B7A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7A15
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7A15#FFFFFF#000000##FFFFFF
##6B7A151.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#727368
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6b7a15;
/* rgb */ color: rgb(107, 122, 21);
/* oklch */ color: oklch(54.9% 0.120 118.3);
Tailwind
colors: {
  custom: {
    50: '#99a05d',
    500: '#6b7a15',
    950: '#000000',
  },
}
SCSS
$custom: #6b7a15;
$custom-light: #99a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7a15",
  "rgb": {
    "r": 107,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 68.911,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54861,
    "c": 0.12013,
    "h": 118.3
  },
  "luminance": 0.17099
}

Semantic roles & 50–950 ramp

primary
#6B7A15
secondary
#4D3BAF
accent
#3AED55
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B7A15

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

Preview Lab → · Contrast checker → · Palette generator →

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