#6A6F12#6A6F12

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

Color values

HEX#6A6F12
RGBrgb(106, 111, 18)
HSLhsl(63, 72%, 25%)
HSVhsv(63, 84%, 44%)
CMYKcmyk(4.5%, 0%, 83.8%, 56.5%)
CIE-LABlab(44.91, -13.55, 46.35)
CIE-LCHlch(44.91, 48.29, 106.29°)
OKLaboklab(52.04% -0.0424 0.1006)
OKLCHoklch(52.04% 0.109 112.9)
XYZxyz(11.7379, 14.4770, 2.7482)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6F12 #17126F
analogous
#6F4512 #6A6F12 #3B6F12
triadic
#6A6F12 #126A6F #6F126A
tetradic
#6A6F12 #126F45 #17126F #6F123B
square
#6A6F12 #126F45 #17126F #6F123B
split-complementary
#6A6F12 #123B6F #45126F
monochromatic
#191A04 #383A09 #6A6F12 #9CA41B #CFD823

Accessibility & contrast

On white

5.39
#6A6F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6A6F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6F12
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6F12#FFFFFF#000000##FFFFFF
##6A6F121.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a6f12;
/* rgb */ color: rgb(106, 111, 18);
/* oklch */ color: oklch(52.0% 0.109 112.9);
Tailwind
colors: {
  custom: {
    50: '#98985a',
    500: '#6a6f12',
    950: '#000000',
  },
}
SCSS
$custom: #6a6f12;
$custom-light: #98985a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6f12",
  "rgb": {
    "r": 106,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 63.226,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.52044,
    "c": 0.10917,
    "h": 112.9
  },
  "luminance": 0.14477
}

Semantic roles & 50–950 ramp

primary
#6A6F12
secondary
#3D37A6
accent
#39EF43
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A6F12

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

Preview Lab → · Contrast checker → · Palette generator →

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