#B9C62F#B9C62F

#B9C62F is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.1% C 0.165 H 114.6°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#B9C62F
RGBrgb(185, 198, 47)
HSLhsl(65, 62%, 48%)
HSVhsv(65, 76%, 78%)
CMYKcmyk(6.6%, 0%, 76.3%, 22.4%)
CIE-LABlab(76.62, -22.32, 68.36)
CIE-LCHlch(76.62, 71.91, 108.08°)
OKLaboklab(79.08% -0.0686 0.1498)
OKLCHoklch(79.08% 0.165 114.6)
XYZxyz(40.7160, 50.9085, 10.3702)
Luminance0.5091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C62F #3C2FC6
analogous
#C6882F #B9C62F #6DC62F
triadic
#B9C62F #2FB9C6 #C62FB9
tetradic
#B9C62F #2FC688 #3C2FC6 #C62F6D
square
#B9C62F #2FC688 #3C2FC6 #C62F6D
split-complementary
#B9C62F #2F6DC6 #882FC6
monochromatic
#5D6318 #8B9523 #B9C62F #CDD85A #DCE48C

Accessibility & contrast

On white

1.88
#B9C62F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#B9C62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C62F
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C62F#FFFFFF#000000##000000
##B9C62F1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC03
Deuteranopia (green-blind)
#D4BE3D
Tritanopia (blue-blind)
#C5BAAA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b9c62f;
/* rgb */ color: rgb(185, 198, 47);
/* oklch */ color: oklch(79.1% 0.165 114.6);
Tailwind
colors: {
  custom: {
    50: '#d2d774',
    500: '#b9c62f',
    950: '#000000',
  },
}
SCSS
$custom: #b9c62f;
$custom-light: #d2d774;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c62f",
  "rgb": {
    "r": 185,
    "g": 198,
    "b": 47
  },
  "hsl": {
    "h": 65.166,
    "s": 61.633,
    "l": 48.039
  },
  "oklch": {
    "l": 0.79084,
    "c": 0.16473,
    "h": 114.6
  },
  "luminance": 0.50908
}

Semantic roles & 50–950 ramp

primary
#B9C62F
secondary
#312C6E
accent
#43E551
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B9C62F

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

Preview Lab → · Contrast checker → · Palette generator →

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