#B6C52F#B6C52F

#B6C52F is a light, vivid yellow. Relative luminance 0.501; OKLCH L 78.6% C 0.165 H 115.4°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#B6C52F
RGBrgb(182, 197, 47)
HSLhsl(66, 61%, 48%)
HSVhsv(66, 76%, 77%)
CMYKcmyk(7.6%, 0%, 76.1%, 22.7%)
CIE-LABlab(76.12, -23.09, 67.82)
CIE-LCHlch(76.12, 71.64, 108.80°)
OKLaboklab(78.62% -0.0705 0.1487)
OKLCHoklch(78.62% 0.165 115.4)
XYZxyz(39.7719, 50.0835, 10.2607)
Luminance0.5008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C52F #3E2FC5
analogous
#C5892F #B6C52F #6BC52F
triadic
#B6C52F #2FB6C5 #C52FB6
tetradic
#B6C52F #2FC589 #3E2FC5 #C52F6B
square
#B6C52F #2FC589 #3E2FC5 #C52F6B
split-complementary
#B6C52F #2F6BC5 #892FC5
monochromatic
#5B6217 #889423 #B6C52F #CBD85A #DBE38B

Accessibility & contrast

On white

1.91
#B6C52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#B6C52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C52F
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C52F#FFFFFF#000000##000000
##B6C52F1.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB04
Deuteranopia (green-blind)
#D2BD3D
Tritanopia (blue-blind)
#C2B9A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b6c52f;
/* rgb */ color: rgb(182, 197, 47);
/* oklch */ color: oklch(78.6% 0.165 115.4);
Tailwind
colors: {
  custom: {
    50: '#d0d674',
    500: '#b6c52f',
    950: '#000000',
  },
}
SCSS
$custom: #b6c52f;
$custom-light: #d0d674;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c52f",
  "rgb": {
    "r": 182,
    "g": 197,
    "b": 47
  },
  "hsl": {
    "h": 66,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.78624,
    "c": 0.16461,
    "h": 115.4
  },
  "luminance": 0.50083
}

Semantic roles & 50–950 ramp

primary
#B6C52F
secondary
#322B6D
accent
#43E553
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B6C52F

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

Preview Lab → · Contrast checker → · Palette generator →

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