#6B6814#6B6814

#6B6814 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.4% C 0.100 H 107.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#6B6814
RGBrgb(107, 104, 20)
HSLhsl(58, 69%, 25%)
HSVhsv(58, 81%, 42%)
CMYKcmyk(0%, 2.8%, 81.3%, 58%)
CIE-LABlab(42.88, -9.10, 43.93)
CIE-LCHlch(42.88, 44.86, 101.70°)
OKLaboklab(50.45% -0.0299 0.0958)
OKLCHoklch(50.45% 0.1 107.4)
XYZxyz(11.1404, 13.0773, 2.5990)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6814 #14176B
analogous
#6B3D14 #6B6814 #436B14
triadic
#6B6814 #146B68 #68146B
tetradic
#6B6814 #146B3D #14176B #6B1443
square
#6B6814 #146B3D #14176B #6B1443
split-complementary
#6B6814 #14436B #3D146B
monochromatic
#1A1905 #37360A #6B6814 #9F9A1E #D2CC27

Accessibility & contrast

On white

5.81
#6B6814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6B6814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6814
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6814#FFFFFF#000000##FFFFFF
##6B68141.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716400
Deuteranopia (green-blind)
#73671B
Tritanopia (blue-blind)
#736158
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b6814;
/* rgb */ color: rgb(107, 104, 20);
/* oklch */ color: oklch(50.4% 0.100 107.4);
Tailwind
colors: {
  custom: {
    50: '#98925a',
    500: '#6b6814',
    950: '#000000',
  },
}
SCSS
$custom: #6b6814;
$custom-light: #98925a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6814",
  "rgb": {
    "r": 107,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 57.931,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50447,
    "c": 0.10033,
    "h": 107.4
  },
  "luminance": 0.13077
}

Semantic roles & 50–950 ramp

primary
#6B6814
secondary
#393DA2
accent
#42EB3C
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6B6814

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

Preview Lab → · Contrast checker → · Palette generator →

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