#8F8A33#8F8A33

#8F8A33 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.0% C 0.108 H 106.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8F8A33
RGBrgb(143, 138, 51)
HSLhsl(57, 47%, 38%)
HSVhsv(57, 64%, 56%)
CMYKcmyk(0%, 3.5%, 64.3%, 43.9%)
CIE-LABlab(56.34, -9.48, 45.75)
CIE-LCHlch(56.34, 46.72, 101.71°)
OKLaboklab(62.04% -0.0299 0.104)
OKLCHoklch(62.04% 0.108 106)
XYZxyz(21.0144, 24.2563, 6.7063)
Luminance0.2426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A33 #33388F
analogous
#8F5C33 #8F8A33 #668F33
triadic
#8F8A33 #338F8A #8A338F
tetradic
#8F8A33 #338F5C #33388F #8F3366
square
#8F8A33 #338F5C #33388F #8F3366
split-complementary
#8F8A33 #33668F #5C338F
monochromatic
#353313 #625E23 #8F8A33 #BCB543 #CCC770

Accessibility & contrast

On white

3.59
#8F8A33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8F8A33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8A33
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8A33#FFFFFF#000000##000000
##8F8A331.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958528
Deuteranopia (green-blind)
#988938
Tritanopia (blue-blind)
#998178
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8a33;
/* rgb */ color: rgb(143, 138, 51);
/* oklch */ color: oklch(62.0% 0.108 106.0);
Tailwind
colors: {
  custom: {
    50: '#b2ab6f',
    500: '#8f8a33',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a33;
$custom-light: #b2ab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a33",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 51
  },
  "hsl": {
    "h": 56.739,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62038,
    "c": 0.10824,
    "h": 106
  },
  "luminance": 0.24256
}

Semantic roles & 50–950 ramp

primary
#8F8A33
secondary
#6A6EB4
accent
#58D751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F8A33

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

Preview Lab → · Contrast checker → · Palette generator →

#8F8A33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva