#6D6F12#6D6F12

#6D6F12 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.3% C 0.108 H 110.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6D6F12
RGBrgb(109, 111, 18)
HSLhsl(61, 72%, 25%)
HSVhsv(61, 84%, 44%)
CMYKcmyk(1.8%, 0%, 83.8%, 56.5%)
CIE-LABlab(45.17, -12.13, 46.68)
CIE-LCHlch(45.17, 48.23, 104.57°)
OKLaboklab(52.32% -0.0387 0.1012)
OKLCHoklch(52.32% 0.108 110.9)
XYZxyz(12.1007, 14.6641, 2.7652)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D6F12 #14126F
analogous
#6F4212 #6D6F12 #3F6F12
triadic
#6D6F12 #126D6F #6F126D
tetradic
#6D6F12 #126F42 #14126F #6F123F
square
#6D6F12 #126F42 #14126F #6F123F
split-complementary
#6D6F12 #123F6F #42126F
monochromatic
#1A1A04 #393A09 #6D6F12 #A1A41B #D4D823

Accessibility & contrast

On white

5.34
#6D6F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6D6F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D6F12
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D6F12#FFFFFF#000000##FFFFFF
##6D6F121.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#796C1B
Tritanopia (blue-blind)
#75675E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6d6f12;
/* rgb */ color: rgb(109, 111, 18);
/* oklch */ color: oklch(52.3% 0.108 110.9);
Tailwind
colors: {
  custom: {
    50: '#9a985a',
    500: '#6d6f12',
    950: '#000000',
  },
}
SCSS
$custom: #6d6f12;
$custom-light: #9a985a;
$custom-dark: #000000;
JSON
{
  "hex": "#6d6f12",
  "rgb": {
    "r": 109,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 61.29,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.52318,
    "c": 0.1083,
    "h": 110.9
  },
  "luminance": 0.14664
}

Semantic roles & 50–950 ramp

primary
#6D6F12
secondary
#3937A6
accent
#39EF3D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6D6F12

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

Preview Lab → · Contrast checker → · Palette generator →

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