#9DB233#9DB233

#9DB233 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.4% C 0.150 H 118.5°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#9DB233
RGBrgb(157, 178, 51)
HSLhsl(70, 55%, 45%)
HSVhsv(70, 71%, 70%)
CMYKcmyk(11.8%, 0%, 71.3%, 30.2%)
CIE-LABlab(68.93, -24.05, 58.98)
CIE-LCHlch(68.93, 63.69, 112.19°)
OKLaboklab(72.39% -0.0715 0.1315)
OKLCHoklch(72.39% 0.15 118.5)
XYZxyz(30.4232, 39.2482, 9.1043)
Luminance0.3925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB233 #4833B2
analogous
#B28733 #9DB233 #5EB233
triadic
#9DB233 #339DB2 #B2339D
tetradic
#9DB233 #33B287 #4833B2 #B2335E
square
#9DB233 #33B287 #4833B2 #B2335E
split-complementary
#9DB233 #335EB2 #8733B2
monochromatic
#495318 #738225 #9DB233 #BACE54 #CDDC84

Accessibility & contrast

On white

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

On black

8.85
#9DB233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB233
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB233#FFFFFF#000000##000000
##9DB2331.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9db233;
/* rgb */ color: rgb(157, 178, 51);
/* oklch */ color: oklch(72.4% 0.150 118.5);
Tailwind
colors: {
  custom: {
    50: '#bdc973',
    500: '#9db233',
    950: '#000000',
  },
}
SCSS
$custom: #9db233;
$custom-light: #bdc973;
$custom-dark: #000000;
JSON
{
  "hex": "#9db233",
  "rgb": {
    "r": 157,
    "g": 178,
    "b": 51
  },
  "hsl": {
    "h": 69.921,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72393,
    "c": 0.1497,
    "h": 118.5
  },
  "luminance": 0.39248
}

Semantic roles & 50–950 ramp

primary
#9DB233
secondary
#887CC5
accent
#49DF62
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9DB233

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

Preview Lab → · Contrast checker → · Palette generator →

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