#6B7019#6B7019

#6B7019 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.4% C 0.106 H 112.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6B7019
RGBrgb(107, 112, 25)
HSLhsl(63, 64%, 27%)
HSVhsv(63, 78%, 44%)
CMYKcmyk(4.5%, 0%, 77.7%, 56.1%)
CIE-LABlab(45.34, -13.32, 44.43)
CIE-LCHlch(45.34, 46.38, 106.69°)
OKLaboklab(52.42% -0.0412 0.0978)
OKLCHoklch(52.42% 0.106 112.9)
XYZxyz(12.0334, 14.7846, 3.1393)
Luminance0.1478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7019 #1E1970
analogous
#704A19 #6B7019 #407019
triadic
#6B7019 #196B70 #70196B
tetradic
#6B7019 #19704A #1E1970 #701940
square
#6B7019 #19704A #1E1970 #701940
split-complementary
#6B7019 #194070 #4A1970
monochromatic
#181906 #3B3E0E #6B7019 #9BA224 #C8D132

Accessibility & contrast

On white

5.31
#6B7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6B7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7019
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7019#FFFFFF#000000##FFFFFF
##6B70191.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A06
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#73695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6b7019;
/* rgb */ color: rgb(107, 112, 25);
/* oklch */ color: oklch(52.4% 0.106 112.9);
Tailwind
colors: {
  custom: {
    50: '#98985d',
    500: '#6b7019',
    950: '#000000',
  },
}
SCSS
$custom: #6b7019;
$custom-light: #98985d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7019",
  "rgb": {
    "r": 107,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 63.448,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52421,
    "c": 0.10616,
    "h": 112.9
  },
  "luminance": 0.14784
}

Semantic roles & 50–950 ramp

primary
#6B7019
secondary
#4540A5
accent
#41E74B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6B7019

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

Preview Lab → · Contrast checker → · Palette generator →

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