#9DB214#9DB214

#9DB214 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.2% C 0.164 H 118.0°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#9DB214
RGBrgb(157, 178, 20)
HSLhsl(68, 80%, 39%)
HSVhsv(68, 89%, 70%)
CMYKcmyk(11.8%, 0%, 88.8%, 30.2%)
CIE-LABlab(68.79, -25.24, 67.54)
CIE-LCHlch(68.79, 72.10, 110.49°)
OKLaboklab(72.24% -0.0769 0.1447)
OKLCHoklch(72.24% 0.164 118)
XYZxyz(29.9521, 39.0597, 6.6231)
Luminance0.3906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB214 #2914B2
analogous
#B27814 #9DB214 #4EB214
triadic
#9DB214 #149DB2 #B2149D
tetradic
#9DB214 #14B278 #2914B2 #B2144E
square
#9DB214 #14B278 #2914B2 #B2144E
split-complementary
#9DB214 #144EB2 #7814B2
monochromatic
#3C4408 #6C7B0E #9DB214 #CBE61E #D8EC55

Accessibility & contrast

On white

2.38
#9DB214 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#9DB214 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB214
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB214#FFFFFF#000000##000000
##9DB2141.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BCA929
Tritanopia (blue-blind)
#A7A797
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9db214;
/* rgb */ color: rgb(157, 178, 20);
/* oklch */ color: oklch(72.2% 0.164 118.0);
Tailwind
colors: {
  custom: {
    50: '#bec867',
    500: '#9db214',
    950: '#000000',
  },
}
SCSS
$custom: #9db214;
$custom-light: #bec867;
$custom-dark: #000000;
JSON
{
  "hex": "#9db214",
  "rgb": {
    "r": 157,
    "g": 178,
    "b": 20
  },
  "hsl": {
    "h": 67.975,
    "s": 79.798,
    "l": 38.824
  },
  "oklch": {
    "l": 0.7224,
    "c": 0.16387,
    "h": 118
  },
  "luminance": 0.39059
}

Semantic roles & 50–950 ramp

primary
#9DB214
secondary
#6453CE
accent
#32F64C
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #9DB214

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

Preview Lab → · Contrast checker → · Palette generator →

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