#B5CA38#B5CA38

#B5CA38 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 79.7% C 0.165 H 117.5°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#B5CA38
RGBrgb(181, 202, 56)
HSLhsl(69, 58%, 51%)
HSVhsv(69, 72%, 79%)
CMYKcmyk(10.4%, 0%, 72.3%, 20.8%)
CIE-LABlab(77.49, -25.52, 66.13)
CIE-LCHlch(77.49, 70.88, 111.10°)
OKLaboklab(79.72% -0.0764 0.1467)
OKLCHoklch(79.72% 0.165 117.5)
XYZxyz(40.8913, 52.3508, 11.6912)
Luminance0.5235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CA38 #4D38CA
analogous
#CA9638 #B5CA38 #6CCA38
triadic
#B5CA38 #38B5CA #CA38B5
tetradic
#B5CA38 #38CA96 #4D38CA #CA386C
square
#B5CA38 #38CA96 #4D38CA #CA386C
split-complementary
#B5CA38 #386CCA #9638CA
monochromatic
#606B1D #8B9B29 #B5CA38 #C7D768 #D9E499

Accessibility & contrast

On white

1.83
#B5CA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#B5CA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CA38
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CA38#FFFFFF#000000##000000
##B5CA381.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1C
Deuteranopia (green-blind)
#D6C044
Tritanopia (blue-blind)
#C0BFAE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b5ca38;
/* rgb */ color: rgb(181, 202, 56);
/* oklch */ color: oklch(79.7% 0.165 117.5);
Tailwind
colors: {
  custom: {
    50: '#cfda79',
    500: '#b5ca38',
    950: '#000000',
  },
}
SCSS
$custom: #b5ca38;
$custom-light: #cfda79;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ca38",
  "rgb": {
    "r": 181,
    "g": 202,
    "b": 56
  },
  "hsl": {
    "h": 68.63,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.79721,
    "c": 0.16545,
    "h": 117.5
  },
  "luminance": 0.5235
}

Semantic roles & 50–950 ramp

primary
#B5CA38
secondary
#3B3175
accent
#47E15D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B5CA38

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

Preview Lab → · Contrast checker → · Palette generator →

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