#B9CD38#B9CD38

#B9CD38 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 80.7% C 0.167 H 117.0°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#B9CD38
RGBrgb(185, 205, 56)
HSLhsl(68, 60%, 51%)
HSVhsv(68, 73%, 80%)
CMYKcmyk(9.8%, 0%, 72.7%, 19.6%)
CIE-LABlab(78.61, -25.32, 67.31)
CIE-LCHlch(78.61, 71.92, 110.61°)
OKLaboklab(80.7% -0.0761 0.1491)
OKLCHoklch(80.7% 0.167 117)
XYZxyz(42.5537, 54.2630, 11.9727)
Luminance0.5426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CD38 #4C38CD
analogous
#CD9638 #B9CD38 #6ECD38
triadic
#B9CD38 #38B9CD #CD38B9
tetradic
#B9CD38 #38CD96 #4C38CD #CD386E
square
#B9CD38 #38CD96 #4C38CD #CD386E
split-complementary
#B9CD38 #386ECD #9638CD
monochromatic
#646F1C #90A028 #B9CD38 #CAD969 #DBE69A

Accessibility & contrast

On white

1.77
#B9CD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#B9CD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CD38
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CD38#FFFFFF#000000##000000
##B9CD381.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21A
Deuteranopia (green-blind)
#D9C345
Tritanopia (blue-blind)
#C5C1B0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b9cd38;
/* rgb */ color: rgb(185, 205, 56);
/* oklch */ color: oklch(80.7% 0.167 117.0);
Tailwind
colors: {
  custom: {
    50: '#d2dc79',
    500: '#b9cd38',
    950: '#000000',
  },
}
SCSS
$custom: #b9cd38;
$custom-light: #d2dc79;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cd38",
  "rgb": {
    "r": 185,
    "g": 205,
    "b": 56
  },
  "hsl": {
    "h": 68.054,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80698,
    "c": 0.1674,
    "h": 117
  },
  "luminance": 0.54262
}

Semantic roles & 50–950 ramp

primary
#B9CD38
secondary
#3B3178
accent
#45E35A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B9CD38

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

Preview Lab → · Contrast checker → · Palette generator →

#B9CD38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva