#6F6A12#6F6A12

#6F6A12 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.3% C 0.103 H 106.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#6F6A12
RGBrgb(111, 106, 18)
HSLhsl(57, 72%, 25%)
HSVhsv(57, 84%, 44%)
CMYKcmyk(0%, 4.5%, 83.8%, 56.5%)
CIE-LABlab(43.85, -8.39, 45.59)
CIE-LCHlch(43.85, 46.35, 100.43°)
OKLaboklab(51.3% -0.0284 0.0987)
OKLCHoklch(51.3% 0.103 106)
XYZxyz(11.8193, 13.7317, 2.6001)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6A12 #12176F
analogous
#6F3B12 #6F6A12 #456F12
triadic
#6F6A12 #126F6A #6A126F
tetradic
#6F6A12 #126F3B #12176F #6F1245
square
#6F6A12 #126F3B #12176F #6F1245
split-complementary
#6F6A12 #12456F #3B126F
monochromatic
#1A1904 #3A3809 #6F6A12 #A49C1B #D8CF23

Accessibility & contrast

On white

5.61
#6F6A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6F6A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F6A12
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F6A12#FFFFFF#000000##FFFFFF
##6F6A121.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#76691A
Tritanopia (blue-blind)
#78625A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6f6a12;
/* rgb */ color: rgb(111, 106, 18);
/* oklch */ color: oklch(51.3% 0.103 106.0);
Tailwind
colors: {
  custom: {
    50: '#9c9459',
    500: '#6f6a12',
    950: '#000000',
  },
}
SCSS
$custom: #6f6a12;
$custom-light: #9c9459;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6a12",
  "rgb": {
    "r": 111,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 56.774,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.51304,
    "c": 0.10272,
    "h": 106
  },
  "luminance": 0.13731
}

Semantic roles & 50–950 ramp

primary
#6F6A12
secondary
#373DA6
accent
#43EF39
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0F0D04
muted
#7E7E79

Preview Lab

Preview with #6F6A12

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

Preview Lab → · Contrast checker → · Palette generator →

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