#6D6915#6D6915

#6D6915 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.9% C 0.100 H 106.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#6D6915
RGBrgb(109, 105, 21)
HSLhsl(57, 68%, 25%)
HSVhsv(57, 81%, 43%)
CMYKcmyk(0%, 3.7%, 80.7%, 57.3%)
CIE-LABlab(43.37, -8.66, 44.10)
CIE-LCHlch(43.37, 44.95, 101.11°)
OKLaboklab(50.89% -0.0287 0.0963)
OKLCHoklch(50.89% 0.1 106.6)
XYZxyz(11.4941, 13.4089, 2.6920)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D6915 #15196D
analogous
#6D3D15 #6D6915 #456D15
triadic
#6D6915 #156D69 #69156D
tetradic
#6D6915 #156D3D #15196D #6D1545
square
#6D6915 #156D3D #15196D #6D1545
split-complementary
#6D6915 #15456D #3D156D
monochromatic
#1A1905 #3A380B #6D6915 #A09A1F #D4CC29

Accessibility & contrast

On white

5.70
#6D6915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#6D6915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D6915
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D6915#FFFFFF#000000##FFFFFF
##6D69151.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736502
Deuteranopia (green-blind)
#74681C
Tritanopia (blue-blind)
#766159
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6d6915;
/* rgb */ color: rgb(109, 105, 21);
/* oklch */ color: oklch(50.9% 0.100 106.6);
Tailwind
colors: {
  custom: {
    50: '#9a935a',
    500: '#6d6915',
    950: '#000000',
  },
}
SCSS
$custom: #6d6915;
$custom-light: #9a935a;
$custom-dark: #000000;
JSON
{
  "hex": "#6d6915",
  "rgb": {
    "r": 109,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 57.273,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50887,
    "c": 0.10045,
    "h": 106.6
  },
  "luminance": 0.13409
}

Semantic roles & 50–950 ramp

primary
#6D6915
secondary
#3A3FA3
accent
#45EB3D
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6D6915

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

Preview Lab → · Contrast checker → · Palette generator →

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