#9EB233#9EB233

#9EB233 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.5% C 0.149 H 118.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#9EB233
RGBrgb(158, 178, 51)
HSLhsl(69, 55%, 45%)
HSVhsv(69, 71%, 70%)
CMYKcmyk(11.2%, 0%, 71.3%, 30.2%)
CIE-LABlab(69.00, -23.64, 59.07)
CIE-LCHlch(69.00, 63.62, 111.81°)
OKLaboklab(72.47% -0.0704 0.1317)
OKLCHoklch(72.47% 0.149 118.1)
XYZxyz(30.6191, 39.3492, 9.1135)
Luminance0.3935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB233 #4733B2
analogous
#B28733 #9EB233 #5EB233
triadic
#9EB233 #339EB2 #B2339E
tetradic
#9EB233 #33B287 #4733B2 #B2335E
square
#9EB233 #33B287 #4733B2 #B2335E
split-complementary
#9EB233 #335EB2 #8733B2
monochromatic
#4A5318 #748225 #9EB233 #BBCE54 #CEDC84

Accessibility & contrast

On white

2.37
#9EB233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#9EB233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB233
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB233#FFFFFF#000000##000000
##9EB2331.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA81D
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#A8A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9eb233;
/* rgb */ color: rgb(158, 178, 51);
/* oklch */ color: oklch(72.5% 0.149 118.1);
Tailwind
colors: {
  custom: {
    50: '#bec973',
    500: '#9eb233',
    950: '#000000',
  },
}
SCSS
$custom: #9eb233;
$custom-light: #bec973;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb233",
  "rgb": {
    "r": 158,
    "g": 178,
    "b": 51
  },
  "hsl": {
    "h": 69.449,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72469,
    "c": 0.14933,
    "h": 118.1
  },
  "luminance": 0.39349
}

Semantic roles & 50–950 ramp

primary
#9EB233
secondary
#877CC5
accent
#49DF61
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9EB233

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

Preview Lab → · Contrast checker → · Palette generator →

#9EB233 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva