#B8CA3F#B8CA3F

#B8CA3F is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.0% C 0.160 H 116.5°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#B8CA3F
RGBrgb(184, 202, 63)
HSLhsl(68, 57%, 52%)
HSVhsv(68, 69%, 79%)
CMYKcmyk(8.9%, 0%, 68.8%, 20.8%)
CIE-LABlab(77.75, -23.91, 63.95)
CIE-LCHlch(77.75, 68.27, 110.50°)
OKLaboklab(80% -0.0715 0.1432)
OKLCHoklch(80% 0.16 116.5)
XYZxyz(41.7859, 52.7908, 12.6901)
Luminance0.5279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CA3F #513FCA
analogous
#CA973F #B8CA3F #73CA3F
triadic
#B8CA3F #3FB8CA #CA3FB8
tetradic
#B8CA3F #3FCA97 #513FCA #CA3F73
square
#B8CA3F #3FCA97 #513FCA #CA3F73
split-complementary
#B8CA3F #3F73CA #973FCA
monochromatic
#65701F #91A02C #B8CA3F #CAD76F #DBE49F

Accessibility & contrast

On white

1.82
#B8CA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#B8CA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CA3F
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CA3F#FFFFFF#000000##000000
##B8CA3F1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C029
Deuteranopia (green-blind)
#D6C14A
Tritanopia (blue-blind)
#C3BFAE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b8ca3f;
/* rgb */ color: rgb(184, 202, 63);
/* oklch */ color: oklch(80.0% 0.160 116.5);
Tailwind
colors: {
  custom: {
    50: '#d1da7c',
    500: '#b8ca3f',
    950: '#000000',
  },
}
SCSS
$custom: #b8ca3f;
$custom-light: #d1da7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ca3f",
  "rgb": {
    "r": 184,
    "g": 202,
    "b": 63
  },
  "hsl": {
    "h": 67.77,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.8,
    "c": 0.16006,
    "h": 116.5
  },
  "luminance": 0.5279
}

Semantic roles & 50–950 ramp

primary
#B8CA3F
secondary
#3D3479
accent
#48E05C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B8CA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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