#6B7C13#6B7C13

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

Color values

HEX#6B7C13
RGBrgb(107, 124, 19)
HSLhsl(70, 73%, 28%)
HSVhsv(70, 85%, 49%)
CMYKcmyk(13.7%, 0%, 84.7%, 51.4%)
CIE-LABlab(48.99, -19.98, 49.67)
CIE-LCHlch(48.99, 53.53, 111.92°)
OKLaboklab(55.35% -0.0601 0.1078)
OKLCHoklch(55.35% 0.123 119.1)
XYZxyz(13.3889, 17.5882, 3.3055)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7C13 #24137C
analogous
#7C5813 #6B7C13 #367C13
triadic
#6B7C13 #136B7C #7C136B
tetradic
#6B7C13 #137C58 #24137C #7C1336
square
#6B7C13 #137C58 #24137C #7C1336
split-complementary
#6B7C13 #13367C #58137C
monochromatic
#171B04 #3D470B #6B7C13 #99B11B #C1DF2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B7C13#FFFFFF#000000##FFFFFF
##6B7C131.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)
#83751E
Tritanopia (blue-blind)
#727569
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6b7c13;
/* rgb */ color: rgb(107, 124, 19);
/* oklch */ color: oklch(55.3% 0.123 119.1);
Tailwind
colors: {
  custom: {
    50: '#99a15c',
    500: '#6b7c13',
    950: '#000000',
  },
}
SCSS
$custom: #6b7c13;
$custom-light: #99a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7c13",
  "rgb": {
    "r": 107,
    "g": 124,
    "b": 19
  },
  "hsl": {
    "h": 69.714,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55348,
    "c": 0.12346,
    "h": 119.1
  },
  "luminance": 0.17588
}

Semantic roles & 50–950 ramp

primary
#6B7C13
secondary
#4D39B2
accent
#38F056
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6B7C13

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

Preview Lab → · Contrast checker → · Palette generator →

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