#898F12#898F12

#898F12 is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.4% C 0.134 H 112.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#898F12
RGBrgb(137, 143, 18)
HSLhsl(63, 78%, 32%)
HSVhsv(63, 87%, 56%)
CMYKcmyk(4.2%, 0%, 87.4%, 43.9%)
CIE-LABlab(57.08, -16.39, 57.73)
CIE-LCHlch(57.08, 60.01, 105.85°)
OKLaboklab(62.44% -0.0518 0.1238)
OKLCHoklch(62.44% 0.134 112.7)
XYZxyz(20.2489, 25.0075, 4.3324)
Luminance0.2501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898F12 #18128F
analogous
#8F5712 #898F12 #4B8F12
triadic
#898F12 #12898F #8F1289
tetradic
#898F12 #128F57 #18128F #8F124B
square
#898F12 #128F57 #18128F #8F124B
split-complementary
#898F12 #124B8F #57128F
monochromatic
#212204 #55590B #898F12 #BDC519 #DDE636

Accessibility & contrast

On white

3.50
#898F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#898F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898F12
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898F12#FFFFFF#000000##000000
##898F121.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #898f12;
/* rgb */ color: rgb(137, 143, 18);
/* oklch */ color: oklch(62.4% 0.134 112.7);
Tailwind
colors: {
  custom: {
    50: '#afaf60',
    500: '#898f12',
    950: '#000000',
  },
}
SCSS
$custom: #898f12;
$custom-light: #afaf60;
$custom-dark: #000000;
JSON
{
  "hex": "#898f12",
  "rgb": {
    "r": 137,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 62.88,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.62442,
    "c": 0.13422,
    "h": 112.7
  },
  "luminance": 0.25007
}

Semantic roles & 50–950 ramp

primary
#898F12
secondary
#403AC3
accent
#34F43D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #898F12

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

Preview Lab → · Contrast checker → · Palette generator →

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