#B4CD38#B4CD38

#B4CD38 is a light, vivid yellow-green. Relative luminance 0.537; OKLCH L 80.3% C 0.169 H 118.8°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#B4CD38
RGBrgb(180, 205, 56)
HSLhsl(70, 60%, 51%)
HSVhsv(70, 73%, 80%)
CMYKcmyk(12.2%, 0%, 72.7%, 19.6%)
CIE-LABlab(78.26, -27.37, 66.85)
CIE-LCHlch(78.26, 72.23, 112.26°)
OKLaboklab(80.32% -0.0815 0.1483)
OKLCHoklch(80.32% 0.169 118.8)
XYZxyz(41.3684, 53.6518, 11.9171)
Luminance0.5365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CD38 #5138CD
analogous
#CD9B38 #B4CD38 #69CD38
triadic
#B4CD38 #38B4CD #CD38B4
tetradic
#B4CD38 #38CD9B #5138CD #CD3869
square
#B4CD38 #38CD9B #5138CD #CD3869
split-complementary
#B4CD38 #3869CD #9B38CD
monochromatic
#616F1C #8CA028 #B4CD38 #C6D969 #D9E69A

Accessibility & contrast

On white

1.79
#B4CD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#B4CD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CD38
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CD38#FFFFFF#000000##000000
##B4CD381.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11A
Deuteranopia (green-blind)
#D8C245
Tritanopia (blue-blind)
#BFC2B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b4cd38;
/* rgb */ color: rgb(180, 205, 56);
/* oklch */ color: oklch(80.3% 0.169 118.8);
Tailwind
colors: {
  custom: {
    50: '#cedc79',
    500: '#b4cd38',
    950: '#000000',
  },
}
SCSS
$custom: #b4cd38;
$custom-light: #cedc79;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cd38",
  "rgb": {
    "r": 180,
    "g": 205,
    "b": 56
  },
  "hsl": {
    "h": 70.067,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80321,
    "c": 0.16919,
    "h": 118.8
  },
  "luminance": 0.53651
}

Semantic roles & 50–950 ramp

primary
#B4CD38
secondary
#3D3178
accent
#45E35F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B4CD38

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

Preview Lab → · Contrast checker → · Palette generator →

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