#6A7A14#6A7A14

#6A7A14 is a mid, vivid yellow. Relative luminance 0.170; OKLCH L 54.8% C 0.121 H 118.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6A7A14
RGBrgb(106, 122, 20)
HSLhsl(69, 72%, 28%)
HSVhsv(69, 84%, 48%)
CMYKcmyk(13.1%, 0%, 83.6%, 52.2%)
CIE-LABlab(48.30, -19.35, 48.74)
CIE-LCHlch(48.30, 52.44, 111.66°)
OKLaboklab(54.77% -0.0583 0.1061)
OKLCHoklch(54.77% 0.121 118.8)
XYZxyz(13.0300, 17.0338, 3.2631)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7A14 #24147A
analogous
#7A5714 #6A7A14 #377A14
triadic
#6A7A14 #146A7A #7A146A
tetradic
#6A7A14 #147A57 #24147A #7A1437
square
#6A7A14 #147A57 #24147A #7A1437
split-complementary
#6A7A14 #14377A #57147A
monochromatic
#171A04 #3C450B #6A7A14 #98AF1D #C1DC2C

Accessibility & contrast

On white

4.77
#6A7A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#6A7A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7A14
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7A14#FFFFFF#000000##FFFFFF
##6A7A141.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a7a14;
/* rgb */ color: rgb(106, 122, 20);
/* oklch */ color: oklch(54.8% 0.121 118.8);
Tailwind
colors: {
  custom: {
    50: '#98a05d',
    500: '#6a7a14',
    950: '#000000',
  },
}
SCSS
$custom: #6a7a14;
$custom-light: #98a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7a14",
  "rgb": {
    "r": 106,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 69.412,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54774,
    "c": 0.12103,
    "h": 118.8
  },
  "luminance": 0.17034
}

Semantic roles & 50–950 ramp

primary
#6A7A14
secondary
#4D3AB0
accent
#39EF56
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A7A14

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

Preview Lab → · Contrast checker → · Palette generator →

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