#B5C02F#B5C02F

#B5C02F is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.4% C 0.160 H 114.0°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#B5C02F
RGBrgb(181, 192, 47)
HSLhsl(65, 61%, 47%)
HSVhsv(65, 76%, 75%)
CMYKcmyk(5.7%, 0%, 75.5%, 24.7%)
CIE-LABlab(74.65, -21.05, 66.43)
CIE-LCHlch(74.65, 69.69, 107.58°)
OKLaboklab(77.43% -0.0648 0.1458)
OKLCHoklch(77.43% 0.16 114)
XYZxyz(38.4200, 47.7290, 9.8775)
Luminance0.4773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C02F #3A2FC0
analogous
#C0832F #B5C02F #6DC02F
triadic
#B5C02F #2FB5C0 #C02FB5
tetradic
#B5C02F #2FC083 #3A2FC0 #C02F6D
square
#B5C02F #2FC083 #3A2FC0 #C02F6D
split-complementary
#B5C02F #2F6DC0 #832FC0
monochromatic
#585E17 #878F23 #B5C02F #CCD656 #DBE288

Accessibility & contrast

On white

1.99
#B5C02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#B5C02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C02F
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C02F#FFFFFF#000000##000000
##B5C02F1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB609
Deuteranopia (green-blind)
#CEB93C
Tritanopia (blue-blind)
#C1B4A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b5c02f;
/* rgb */ color: rgb(181, 192, 47);
/* oklch */ color: oklch(77.4% 0.160 114.0);
Tailwind
colors: {
  custom: {
    50: '#cfd273',
    500: '#b5c02f',
    950: '#000000',
  },
}
SCSS
$custom: #b5c02f;
$custom-light: #cfd273;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c02f",
  "rgb": {
    "r": 181,
    "g": 192,
    "b": 47
  },
  "hsl": {
    "h": 64.552,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.77429,
    "c": 0.1596,
    "h": 114
  },
  "luminance": 0.47728
}

Semantic roles & 50–950 ramp

primary
#B5C02F
secondary
#857FCB
accent
#44E450
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5C02F

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

Preview Lab → · Contrast checker → · Palette generator →

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