#B3C231#B3C231

#B3C231 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.7% C 0.161 H 115.5°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#B3C231
RGBrgb(179, 194, 49)
HSLhsl(66, 60%, 48%)
HSVhsv(66, 75%, 76%)
CMYKcmyk(7.7%, 0%, 74.7%, 23.9%)
CIE-LABlab(75.07, -22.79, 66.12)
CIE-LCHlch(75.07, 69.94, 109.02°)
OKLaboklab(77.73% -0.0694 0.1456)
OKLCHoklch(77.73% 0.161 115.5)
XYZxyz(38.4376, 48.3897, 10.2204)
Luminance0.4839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3C231 #4031C2
analogous
#C28931 #B3C231 #6AC231
triadic
#B3C231 #31B3C2 #C231B3
tetradic
#B3C231 #31C289 #4031C2 #C2316A
square
#B3C231 #31C289 #4031C2 #C2316A
split-complementary
#B3C231 #316AC2 #8931C2
monochromatic
#596018 #869125 #B3C231 #C9D65B #D9E28C

Accessibility & contrast

On white

1.97
#B3C231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#B3C231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3C231
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3C231#FFFFFF#000000##000000
##B3C2311.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B80F
Deuteranopia (green-blind)
#CFBA3E
Tritanopia (blue-blind)
#BFB7A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b3c231;
/* rgb */ color: rgb(179, 194, 49);
/* oklch */ color: oklch(77.7% 0.161 115.5);
Tailwind
colors: {
  custom: {
    50: '#cdd474',
    500: '#b3c231',
    950: '#000000',
  },
}
SCSS
$custom: #b3c231;
$custom-light: #cdd474;
$custom-dark: #000000;
JSON
{
  "hex": "#b3c231",
  "rgb": {
    "r": 179,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 66.207,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.77728,
    "c": 0.16128,
    "h": 115.5
  },
  "luminance": 0.48389
}

Semantic roles & 50–950 ramp

primary
#B3C231
secondary
#8A83CC
accent
#45E355
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B3C231

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

Preview Lab → · Contrast checker → · Palette generator →

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