#6B6E12#6B6E12

#6B6E12 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 51.9% C 0.108 H 111.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6B6E12
RGBrgb(107, 110, 18)
HSLhsl(62, 72%, 25%)
HSVhsv(62, 84%, 43%)
CMYKcmyk(2.7%, 0%, 83.6%, 56.9%)
CIE-LABlab(44.69, -12.53, 46.19)
CIE-LCHlch(44.69, 47.86, 105.17°)
OKLaboklab(51.89% -0.0397 0.1002)
OKLCHoklch(51.89% 0.108 111.6)
XYZxyz(11.7489, 14.3216, 2.7176)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6E12 #15126E
analogous
#6E4312 #6B6E12 #3D6E12
triadic
#6B6E12 #126B6E #6E126B
tetradic
#6B6E12 #126E43 #15126E #6E123D
square
#6B6E12 #126E43 #15126E #6E123D
split-complementary
#6B6E12 #123D6E #43126E
monochromatic
#1A1A04 #383909 #6B6E12 #9EA31B #D1D723

Accessibility & contrast

On white

5.43
#6B6E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#6B6E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6E12
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6E12#FFFFFF#000000##FFFFFF
##6B6E121.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#786B1B
Tritanopia (blue-blind)
#73675D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6b6e12;
/* rgb */ color: rgb(107, 110, 18);
/* oklch */ color: oklch(51.9% 0.108 111.6);
Tailwind
colors: {
  custom: {
    50: '#99975a',
    500: '#6b6e12',
    950: '#000000',
  },
}
SCSS
$custom: #6b6e12;
$custom-light: #99975a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6e12",
  "rgb": {
    "r": 107,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 61.957,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.51891,
    "c": 0.10776,
    "h": 111.6
  },
  "luminance": 0.14321
}

Semantic roles & 50–950 ramp

primary
#6B6E12
secondary
#3A37A5
accent
#39EF3F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6B6E12

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

Preview Lab → · Contrast checker → · Palette generator →

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