#B8C12F#B8C12F

#B8C12F is a light, vivid yellow. Relative luminance 0.485; OKLCH L 77.9% C 0.160 H 113.2°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#B8C12F
RGBrgb(184, 193, 47)
HSLhsl(64, 61%, 47%)
HSVhsv(64, 76%, 76%)
CMYKcmyk(4.7%, 0%, 75.6%, 24.3%)
CIE-LABlab(75.16, -20.28, 66.99)
CIE-LCHlch(75.16, 69.99, 106.84°)
OKLaboklab(77.89% -0.0629 0.1469)
OKLCHoklch(77.89% 0.16 113.2)
XYZxyz(39.3515, 48.5364, 9.9843)
Luminance0.4854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C12F #382FC1
analogous
#C1812F #B8C12F #6FC12F
triadic
#B8C12F #2FB8C1 #C12FB8
tetradic
#B8C12F #2FC181 #382FC1 #C12F6F
square
#B8C12F #2FC181 #382FC1 #C12F6F
split-complementary
#B8C12F #2F6FC1 #812FC1
monochromatic
#5A5F17 #899023 #B8C12F #CED657 #DDE288

Accessibility & contrast

On white

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

On black

10.71
#B8C12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8C12F
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8C12F#FFFFFF#000000##000000
##B8C12F1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B808
Deuteranopia (green-blind)
#D0BB3C
Tritanopia (blue-blind)
#C5B5A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b8c12f;
/* rgb */ color: rgb(184, 193, 47);
/* oklch */ color: oklch(77.9% 0.160 113.2);
Tailwind
colors: {
  custom: {
    50: '#d1d373',
    500: '#b8c12f',
    950: '#000000',
  },
}
SCSS
$custom: #b8c12f;
$custom-light: #d1d373;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c12f",
  "rgb": {
    "r": 184,
    "g": 193,
    "b": 47
  },
  "hsl": {
    "h": 63.699,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.77893,
    "c": 0.15978,
    "h": 113.2
  },
  "luminance": 0.48536
}

Semantic roles & 50–950 ramp

primary
#B8C12F
secondary
#8580CC
accent
#44E44E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B8C12F

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

Preview Lab → · Contrast checker → · Palette generator →

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