#B5BE2F#B5BE2F

#B5BE2F is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.0% C 0.158 H 113.2°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#B5BE2F
RGBrgb(181, 190, 47)
HSLhsl(64, 60%, 46%)
HSVhsv(64, 75%, 75%)
CMYKcmyk(4.7%, 0%, 75.3%, 25.5%)
CIE-LABlab(74.10, -20.06, 65.92)
CIE-LCHlch(74.10, 68.90, 106.93°)
OKLaboklab(76.98% -0.0621 0.1447)
OKLCHoklch(76.98% 0.158 113.2)
XYZxyz(37.9838, 46.8567, 9.7321)
Luminance0.4686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BE2F #382FBE
analogous
#BE802F #B5BE2F #6EBE2F
triadic
#B5BE2F #2FB5BE #BE2FB5
tetradic
#B5BE2F #2FBE80 #382FBE #BE2F6E
square
#B5BE2F #2FBE80 #382FBE #BE2F6E
split-complementary
#B5BE2F #2F6EBE #802FBE
monochromatic
#585C17 #868D23 #B5BE2F #CDD555 #DBE186

Accessibility & contrast

On white

2.02
#B5BE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#B5BE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BE2F
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BE2F#FFFFFF#000000##000000
##B5BE2F1.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB50B
Deuteranopia (green-blind)
#CCB83B
Tritanopia (blue-blind)
#C1B2A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b5be2f;
/* rgb */ color: rgb(181, 190, 47);
/* oklch */ color: oklch(77.0% 0.158 113.2);
Tailwind
colors: {
  custom: {
    50: '#cfd173',
    500: '#b5be2f',
    950: '#000000',
  },
}
SCSS
$custom: #b5be2f;
$custom-light: #cfd173;
$custom-dark: #000000;
JSON
{
  "hex": "#b5be2f",
  "rgb": {
    "r": 181,
    "g": 190,
    "b": 47
  },
  "hsl": {
    "h": 63.776,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76983,
    "c": 0.1575,
    "h": 113.2
  },
  "luminance": 0.46856
}

Semantic roles & 50–950 ramp

primary
#B5BE2F
secondary
#837ECB
accent
#44E34E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5BE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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