#B2C02F#B2C02F

#B2C02F is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.2% C 0.161 H 115.1°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#B2C02F
RGBrgb(178, 192, 47)
HSLhsl(66, 61%, 47%)
HSVhsv(66, 76%, 75%)
CMYKcmyk(7.3%, 0%, 75.5%, 24.7%)
CIE-LABlab(74.43, -22.32, 66.14)
CIE-LCHlch(74.43, 69.80, 108.65°)
OKLaboklab(77.19% -0.0682 0.1453)
OKLCHoklch(77.19% 0.161 115.1)
XYZxyz(37.7239, 47.3701, 9.8449)
Luminance0.4737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C02F #3D2FC0
analogous
#C0862F #B2C02F #6AC02F
triadic
#B2C02F #2FB2C0 #C02FB2
tetradic
#B2C02F #2FC086 #3D2FC0 #C02F6A
square
#B2C02F #2FC086 #3D2FC0 #C02F6A
split-complementary
#B2C02F #2F6AC0 #862FC0
monochromatic
#575E17 #848F23 #B2C02F #C9D656 #D9E288

Accessibility & contrast

On white

2.01
#B2C02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#B2C02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C02F
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C02F#FFFFFF#000000##000000
##B2C02F1.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB609
Deuteranopia (green-blind)
#CDB83C
Tritanopia (blue-blind)
#BEB5A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2c02f;
/* rgb */ color: rgb(178, 192, 47);
/* oklch */ color: oklch(77.2% 0.161 115.1);
Tailwind
colors: {
  custom: {
    50: '#cdd273',
    500: '#b2c02f',
    950: '#000000',
  },
}
SCSS
$custom: #b2c02f;
$custom-light: #cdd273;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c02f",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 47
  },
  "hsl": {
    "h": 65.793,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.77189,
    "c": 0.16051,
    "h": 115.1
  },
  "luminance": 0.47369
}

Semantic roles & 50–950 ramp

primary
#B2C02F
secondary
#877FCB
accent
#44E453
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C02F

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

Preview Lab → · Contrast checker → · Palette generator →

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