#6B7A14#6B7A14

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

Color values

HEX#6B7A14
RGBrgb(107, 122, 20)
HSLhsl(69, 72%, 28%)
HSVhsv(69, 84%, 48%)
CMYKcmyk(12.3%, 0%, 83.6%, 52.2%)
CIE-LABlab(48.38, -18.90, 48.84)
CIE-LCHlch(48.38, 52.37, 111.16°)
OKLaboklab(54.86% -0.0571 0.1063)
OKLCHoklch(54.86% 0.121 118.2)
XYZxyz(13.1495, 17.0955, 3.2687)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7A14 #23147A
analogous
#7A5614 #6B7A14 #387A14
triadic
#6B7A14 #146B7A #7A146B
tetradic
#6B7A14 #147A56 #23147A #7A1438
square
#6B7A14 #147A56 #23147A #7A1438
split-complementary
#6B7A14 #14387A #56147A
monochromatic
#171A04 #3D450B #6B7A14 #99AF1D #C2DC2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B7A14#FFFFFF#000000##FFFFFF
##6B7A141.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: #6b7a14;
/* rgb */ color: rgb(107, 122, 20);
/* oklch */ color: oklch(54.9% 0.121 118.2);
Tailwind
colors: {
  custom: {
    50: '#99a05d',
    500: '#6b7a14',
    950: '#000000',
  },
}
SCSS
$custom: #6b7a14;
$custom-light: #99a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7a14",
  "rgb": {
    "r": 107,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 68.824,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54856,
    "c": 0.12062,
    "h": 118.2
  },
  "luminance": 0.17095
}

Semantic roles & 50–950 ramp

primary
#6B7A14
secondary
#4B3AB0
accent
#39EF54
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B7A14

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

Preview Lab → · Contrast checker → · Palette generator →

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