#B2C12F#B2C12F

#B2C12F is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.4% C 0.162 H 115.5°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#B2C12F
RGBrgb(178, 193, 47)
HSLhsl(66, 61%, 47%)
HSVhsv(66, 76%, 76%)
CMYKcmyk(7.8%, 0%, 75.6%, 24.3%)
CIE-LABlab(74.71, -22.81, 66.40)
CIE-LCHlch(74.71, 70.21, 108.96°)
OKLaboklab(77.41% -0.0695 0.1459)
OKLCHoklch(77.41% 0.162 115.5)
XYZxyz(37.9442, 47.8108, 9.9183)
Luminance0.4781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C12F #3E2FC1
analogous
#C1872F #B2C12F #69C12F
triadic
#B2C12F #2FB2C1 #C12FB2
tetradic
#B2C12F #2FC187 #3E2FC1 #C12F69
square
#B2C12F #2FC187 #3E2FC1 #C12F69
split-complementary
#B2C12F #2F69C1 #872FC1
monochromatic
#575F17 #859023 #B2C12F #C9D657 #D9E288

Accessibility & contrast

On white

1.99
#B2C12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#B2C12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C12F
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C12F#FFFFFF#000000##000000
##B2C12F1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2c12f;
/* rgb */ color: rgb(178, 193, 47);
/* oklch */ color: oklch(77.4% 0.162 115.5);
Tailwind
colors: {
  custom: {
    50: '#cdd373',
    500: '#b2c12f',
    950: '#000000',
  },
}
SCSS
$custom: #b2c12f;
$custom-light: #cdd373;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c12f",
  "rgb": {
    "r": 178,
    "g": 193,
    "b": 47
  },
  "hsl": {
    "h": 66.164,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.77414,
    "c": 0.16159,
    "h": 115.5
  },
  "luminance": 0.4781
}

Semantic roles & 50–950 ramp

primary
#B2C12F
secondary
#8880CC
accent
#44E454
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C12F

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

Preview Lab → · Contrast checker → · Palette generator →

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