#6D6814#6D6814

#6D6814 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.6% C 0.100 H 105.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#6D6814
RGBrgb(109, 104, 20)
HSLhsl(57, 69%, 25%)
HSVhsv(57, 82%, 43%)
CMYKcmyk(0%, 4.6%, 81.7%, 57.3%)
CIE-LABlab(43.07, -8.14, 44.17)
CIE-LCHlch(43.07, 44.91, 100.44°)
OKLaboklab(50.64% -0.0274 0.0962)
OKLCHoklch(50.64% 0.1 105.9)
XYZxyz(11.3837, 13.2028, 2.6104)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D6814 #14196D
analogous
#6D3B14 #6D6814 #456D14
triadic
#6D6814 #146D68 #68146D
tetradic
#6D6814 #146D3B #14196D #6D1445
square
#6D6814 #146D3B #14196D #6D1445
split-complementary
#6D6814 #14456D #3B146D
monochromatic
#1A1905 #39370B #6D6814 #A1991D #D4CB27

Accessibility & contrast

On white

5.77
#6D6814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6D6814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D6814
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D6814#FFFFFF#000000##FFFFFF
##6D68141.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#74671B
Tritanopia (blue-blind)
#766058
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6d6814;
/* rgb */ color: rgb(109, 104, 20);
/* oklch */ color: oklch(50.6% 0.100 105.9);
Tailwind
colors: {
  custom: {
    50: '#9a925a',
    500: '#6d6814',
    950: '#000000',
  },
}
SCSS
$custom: #6d6814;
$custom-light: #9a925a;
$custom-dark: #000000;
JSON
{
  "hex": "#6d6814",
  "rgb": {
    "r": 109,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 56.629,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50641,
    "c": 0.1,
    "h": 105.9
  },
  "luminance": 0.13202
}

Semantic roles & 50–950 ramp

primary
#6D6814
secondary
#393FA4
accent
#46EC3C
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6D6814

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

Preview Lab → · Contrast checker → · Palette generator →

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