#B5C238#B5C238

#B5C238 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 77.9% C 0.157 H 114.8°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#B5C238
RGBrgb(181, 194, 56)
HSLhsl(66, 55%, 49%)
HSVhsv(66, 71%, 76%)
CMYKcmyk(6.7%, 0%, 71.1%, 23.9%)
CIE-LABlab(75.26, -21.62, 63.97)
CIE-LCHlch(75.26, 67.52, 108.67°)
OKLaboklab(77.93% -0.0656 0.1422)
OKLCHoklch(77.93% 0.157 114.8)
XYZxyz(39.0627, 48.6935, 11.0816)
Luminance0.4869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C238 #4538C2
analogous
#C28A38 #B5C238 #70C238
triadic
#B5C238 #38B5C2 #C238B5
tetradic
#B5C238 #38C28A #4538C2 #C23870
square
#B5C238 #38C28A #4538C2 #C23870
split-complementary
#B5C238 #3870C2 #8A38C2
monochromatic
#5C631D #89932A #B5C238 #C8D265 #D9E094

Accessibility & contrast

On white

1.96
#B5C238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#B5C238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C238
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C238#FFFFFF#000000##000000
##B5C2381.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B81F
Deuteranopia (green-blind)
#CFBB43
Tritanopia (blue-blind)
#C1B7A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b5c238;
/* rgb */ color: rgb(181, 194, 56);
/* oklch */ color: oklch(77.9% 0.157 114.8);
Tailwind
colors: {
  custom: {
    50: '#cfd478',
    500: '#b5c238',
    950: '#000000',
  },
}
SCSS
$custom: #b5c238;
$custom-light: #cfd478;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c238",
  "rgb": {
    "r": 181,
    "g": 194,
    "b": 56
  },
  "hsl": {
    "h": 65.652,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77931,
    "c": 0.15659,
    "h": 114.8
  },
  "luminance": 0.48693
}

Semantic roles & 50–950 ramp

primary
#B5C238
secondary
#918ACB
accent
#49DF57
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B5C238

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

Preview Lab → · Contrast checker → · Palette generator →

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