#888F12#888F12

#888F12 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.4% C 0.135 H 113.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#888F12
RGBrgb(136, 143, 18)
HSLhsl(63, 78%, 32%)
HSVhsv(63, 87%, 56%)
CMYKcmyk(4.9%, 0%, 87.4%, 43.9%)
CIE-LABlab(57.00, -16.84, 57.62)
CIE-LCHlch(57.00, 60.03, 106.29°)
OKLaboklab(62.36% -0.053 0.1236)
OKLCHoklch(62.36% 0.135 113.2)
XYZxyz(20.0857, 24.9233, 4.3248)
Luminance0.2492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888F12 #19128F
analogous
#8F5812 #888F12 #4A8F12
triadic
#888F12 #12888F #8F1288
tetradic
#888F12 #128F58 #19128F #8F124A
square
#888F12 #128F58 #19128F #8F124A
split-complementary
#888F12 #124A8F #58128F
monochromatic
#212204 #54590B #888F12 #BCC519 #DCE636

Accessibility & contrast

On white

3.51
#888F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#888F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888F12
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888F12#FFFFFF#000000##000000
##888F121.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9B8A20
Tritanopia (blue-blind)
#92867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #888f12;
/* rgb */ color: rgb(136, 143, 18);
/* oklch */ color: oklch(62.4% 0.135 113.2);
Tailwind
colors: {
  custom: {
    50: '#aeaf60',
    500: '#888f12',
    950: '#000000',
  },
}
SCSS
$custom: #888f12;
$custom-light: #aeaf60;
$custom-dark: #000000;
JSON
{
  "hex": "#888f12",
  "rgb": {
    "r": 136,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 63.36,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.62356,
    "c": 0.13452,
    "h": 113.2
  },
  "luminance": 0.24923
}

Semantic roles & 50–950 ramp

primary
#888F12
secondary
#413AC3
accent
#34F43E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #888F12

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

Preview Lab → · Contrast checker → · Palette generator →

#888F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva