#6B7B19#6B7B19

#6B7B19 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.1% C 0.119 H 118.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#6B7B19
RGBrgb(107, 123, 25)
HSLhsl(70, 66%, 29%)
HSVhsv(70, 80%, 48%)
CMYKcmyk(13%, 0%, 79.7%, 51.8%)
CIE-LABlab(48.71, -19.21, 47.57)
CIE-LCHlch(48.71, 51.30, 111.99°)
OKLaboklab(55.13% -0.0575 0.1045)
OKLCHoklch(55.13% 0.119 118.8)
XYZxyz(13.3221, 17.3620, 3.5689)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7B19 #29197B
analogous
#7B5A19 #6B7B19 #3A7B19
triadic
#6B7B19 #196B7B #7B196B
tetradic
#6B7B19 #197B5A #29197B #7B193A
square
#6B7B19 #197B5A #29197B #7B193A
split-complementary
#6B7B19 #193A7B #5A197B
monochromatic
#161905 #3F480F #6B7B19 #97AE23 #BDD738

Accessibility & contrast

On white

4.70
#6B7B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#6B7B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7B19
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7B19#FFFFFF#000000##FFFFFF
##6B7B191.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#827422
Tritanopia (blue-blind)
#727469
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6b7b19;
/* rgb */ color: rgb(107, 123, 25);
/* oklch */ color: oklch(55.1% 0.119 118.8);
Tailwind
colors: {
  custom: {
    50: '#98a15f',
    500: '#6b7b19',
    950: '#000000',
  },
}
SCSS
$custom: #6b7b19;
$custom-light: #98a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7b19",
  "rgb": {
    "r": 107,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 69.796,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55131,
    "c": 0.11926,
    "h": 118.8
  },
  "luminance": 0.17362
}

Semantic roles & 50–950 ramp

primary
#6B7B19
secondary
#5240AF
accent
#3FE95A
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B7B19

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

Preview Lab → · Contrast checker → · Palette generator →

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