#B5C74B#B5C74B

#B5C74B is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.2% C 0.149 H 116.9°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#B5C74B
RGBrgb(181, 199, 75)
HSLhsl(69, 53%, 54%)
HSVhsv(69, 62%, 78%)
CMYKcmyk(9%, 0%, 62.3%, 22%)
CIE-LABlab(76.79, -22.92, 58.11)
CIE-LCHlch(76.79, 62.47, 111.53°)
OKLaboklab(79.2% -0.0674 0.1327)
OKLCHoklch(79.2% 0.149 116.9)
XYZxyz(40.7503, 51.1791, 14.3871)
Luminance0.5118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C74B #5D4BC7
analogous
#C79B4B #B5C74B #77C74B
triadic
#B5C74B #4BB5C7 #C74BB5
tetradic
#B5C74B #4BC79B #5D4BC7 #C74B77
square
#B5C74B #4BC79B #5D4BC7 #C74B77
split-complementary
#B5C74B #4B77C7 #9B4BC7
monochromatic
#687424 #92A232 #B5C74B #C8D67A #DBE4A8

Accessibility & contrast

On white

1.87
#B5C74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#B5C74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C74B
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C74B#FFFFFF#000000##000000
##B5C74B1.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD3C
Deuteranopia (green-blind)
#D2BE53
Tritanopia (blue-blind)
#BFBCAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b5c74b;
/* rgb */ color: rgb(181, 199, 75);
/* oklch */ color: oklch(79.2% 0.149 116.9);
Tailwind
colors: {
  custom: {
    50: '#ced783',
    500: '#b5c74b',
    950: '#000000',
  },
}
SCSS
$custom: #b5c74b;
$custom-light: #ced783;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c74b",
  "rgb": {
    "r": 181,
    "g": 199,
    "b": 75
  },
  "hsl": {
    "h": 68.71,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.792,
    "c": 0.14888,
    "h": 116.9
  },
  "luminance": 0.51179
}

Semantic roles & 50–950 ramp

primary
#B5C74B
secondary
#433A7D
accent
#4CDC61
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B5C74B

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

Preview Lab → · Contrast checker → · Palette generator →

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