#6B7C14#6B7C14

#6B7C14 is a mid, vivid yellow. Relative luminance 0.176; OKLCH L 55.4% C 0.123 H 119.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6B7C14
RGBrgb(107, 124, 20)
HSLhsl(70, 72%, 28%)
HSVhsv(70, 84%, 49%)
CMYKcmyk(13.7%, 0%, 83.9%, 51.4%)
CIE-LABlab(49.00, -19.94, 49.39)
CIE-LCHlch(49.00, 53.26, 111.99°)
OKLaboklab(55.35% -0.0599 0.1074)
OKLCHoklch(55.35% 0.123 119.2)
XYZxyz(13.3976, 17.5917, 3.3514)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7C14 #25147C
analogous
#7C5914 #6B7C14 #377C14
triadic
#6B7C14 #146B7C #7C146B
tetradic
#6B7C14 #147C59 #25147C #7C1437
square
#6B7C14 #147C59 #25147C #7C1437
split-complementary
#6B7C14 #14377C #59147C
monochromatic
#171A04 #3E470B #6B7C14 #98B11D #C0DD2D

Accessibility & contrast

On white

4.65
#6B7C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#6B7C14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7C14
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7C14#FFFFFF#000000##FFFFFF
##6B7C141.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#727569
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6b7c14;
/* rgb */ color: rgb(107, 124, 20);
/* oklch */ color: oklch(55.4% 0.123 119.2);
Tailwind
colors: {
  custom: {
    50: '#99a15d',
    500: '#6b7c14',
    950: '#000000',
  },
}
SCSS
$custom: #6b7c14;
$custom-light: #99a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7c14",
  "rgb": {
    "r": 107,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 69.808,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55353,
    "c": 0.12301,
    "h": 119.2
  },
  "luminance": 0.17592
}

Semantic roles & 50–950 ramp

primary
#6B7C14
secondary
#4E3AB2
accent
#39EF57
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6B7C14

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

Preview Lab → · Contrast checker → · Palette generator →

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