#8F8B23#8F8B23

#8F8B23 is a light, vivid yellow. Relative luminance 0.244; OKLCH L 62.1% C 0.121 H 107.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8F8B23
RGBrgb(143, 139, 35)
HSLhsl(58, 61%, 35%)
HSVhsv(58, 76%, 56%)
CMYKcmyk(0%, 2.8%, 75.5%, 43.9%)
CIE-LABlab(56.51, -10.94, 52.43)
CIE-LCHlch(56.51, 53.56, 101.78°)
OKLaboklab(62.14% -0.0357 0.1153)
OKLCHoklch(62.14% 0.121 107.2)
XYZxyz(20.8645, 24.4270, 5.2056)
Luminance0.2443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8B23 #23278F
analogous
#8F5523 #8F8B23 #5D8F23
triadic
#8F8B23 #238F8B #8B238F
tetradic
#8F8B23 #238F55 #23278F #8F235D
square
#8F8B23 #238F55 #23278F #8F235D
split-complementary
#8F8B23 #235D8F #55238F
monochromatic
#2D2B0B #5E5B17 #8F8B23 #C0BB2F #D6D157

Accessibility & contrast

On white

3.57
#8F8B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#8F8B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8B23
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8B23#FFFFFF#000000##000000
##8F8B231.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850D
Deuteranopia (green-blind)
#99892B
Tritanopia (blue-blind)
#9A8177
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8f8b23;
/* rgb */ color: rgb(143, 139, 35);
/* oklch */ color: oklch(62.1% 0.121 107.2);
Tailwind
colors: {
  custom: {
    50: '#b3ac66',
    500: '#8f8b23',
    950: '#000000',
  },
}
SCSS
$custom: #8f8b23;
$custom-light: #b3ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8b23",
  "rgb": {
    "r": 143,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 57.778,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62136,
    "c": 0.12072,
    "h": 107.2
  },
  "luminance": 0.24426
}

Semantic roles & 50–950 ramp

primary
#8F8B23
secondary
#5458BA
accent
#4AE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F8B23

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

Preview Lab → · Contrast checker → · Palette generator →

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