#6B6F12#6B6F12

#6B6F12 is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.1% C 0.109 H 112.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#6B6F12
RGBrgb(107, 111, 18)
HSLhsl(63, 72%, 25%)
HSVhsv(63, 84%, 44%)
CMYKcmyk(3.6%, 0%, 83.8%, 56.5%)
CIE-LABlab(45.00, -13.08, 46.46)
CIE-LCHlch(45.00, 48.26, 105.72°)
OKLaboklab(52.14% -0.0412 0.1008)
OKLCHoklch(52.14% 0.109 112.2)
XYZxyz(11.8574, 14.5386, 2.7538)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6F12 #16126F
analogous
#6F4512 #6B6F12 #3C6F12
triadic
#6B6F12 #126B6F #6F126B
tetradic
#6B6F12 #126F45 #16126F #6F123C
square
#6B6F12 #126F45 #16126F #6F123C
split-complementary
#6B6F12 #123C6F #45126F
monochromatic
#191A04 #383A09 #6B6F12 #9EA41B #D1D823

Accessibility & contrast

On white

5.37
#6B6F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#6B6F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6F12
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6F12#FFFFFF#000000##FFFFFF
##6B6F121.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#786B1B
Tritanopia (blue-blind)
#73685E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6b6f12;
/* rgb */ color: rgb(107, 111, 18);
/* oklch */ color: oklch(52.1% 0.109 112.2);
Tailwind
colors: {
  custom: {
    50: '#99985a',
    500: '#6b6f12',
    950: '#000000',
  },
}
SCSS
$custom: #6b6f12;
$custom-light: #99985a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6f12",
  "rgb": {
    "r": 107,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 62.581,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.52135,
    "c": 0.10887,
    "h": 112.2
  },
  "luminance": 0.14538
}

Semantic roles & 50–950 ramp

primary
#6B6F12
secondary
#3B37A6
accent
#39EF41
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6B6F12

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

Preview Lab → · Contrast checker → · Palette generator →

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