#B5C12F#B5C12F

#B5C12F is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.7% C 0.161 H 114.3°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#B5C12F
RGBrgb(181, 193, 47)
HSLhsl(65, 61%, 47%)
HSVhsv(65, 76%, 76%)
CMYKcmyk(6.2%, 0%, 75.6%, 24.3%)
CIE-LABlab(74.93, -21.55, 66.69)
CIE-LCHlch(74.93, 70.09, 107.91°)
OKLaboklab(77.65% -0.0662 0.1464)
OKLCHoklch(77.65% 0.161 114.3)
XYZxyz(38.6403, 48.1697, 9.9509)
Luminance0.4817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C12F #3B2FC1
analogous
#C1842F #B5C12F #6CC12F
triadic
#B5C12F #2FB5C1 #C12FB5
tetradic
#B5C12F #2FC184 #3B2FC1 #C12F6C
square
#B5C12F #2FC184 #3B2FC1 #C12F6C
split-complementary
#B5C12F #2F6CC1 #842FC1
monochromatic
#595F17 #879023 #B5C12F #CCD657 #DBE288

Accessibility & contrast

On white

1.97
#B5C12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#B5C12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C12F
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C12F#FFFFFF#000000##000000
##B5C12F1.001.9710.6310.63
#FFFFFF1.971.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB708
Deuteranopia (green-blind)
#CFBA3C
Tritanopia (blue-blind)
#C1B5A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b5c12f;
/* rgb */ color: rgb(181, 193, 47);
/* oklch */ color: oklch(77.7% 0.161 114.3);
Tailwind
colors: {
  custom: {
    50: '#cfd373',
    500: '#b5c12f',
    950: '#000000',
  },
}
SCSS
$custom: #b5c12f;
$custom-light: #cfd373;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c12f",
  "rgb": {
    "r": 181,
    "g": 193,
    "b": 47
  },
  "hsl": {
    "h": 64.932,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.77652,
    "c": 0.16066,
    "h": 114.3
  },
  "luminance": 0.48169
}

Semantic roles & 50–950 ramp

primary
#B5C12F
secondary
#8680CC
accent
#44E451
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5C12F

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

Preview Lab → · Contrast checker → · Palette generator →

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