#B3C040#B3C040

#B3C040 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.4% C 0.150 H 114.9°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#B3C040
RGBrgb(179, 192, 64)
HSLhsl(66, 50%, 50%)
HSVhsv(66, 67%, 75%)
CMYKcmyk(6.8%, 0%, 66.7%, 24.7%)
CIE-LABlab(74.61, -21.02, 60.26)
CIE-LCHlch(74.61, 63.82, 109.23°)
OKLaboklab(77.39% -0.0631 0.1357)
OKLCHoklch(77.39% 0.15 114.9)
XYZxyz(38.3664, 47.6538, 12.0265)
Luminance0.4765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3C040 #4D40C0
analogous
#C08D40 #B3C040 #73C040
triadic
#B3C040 #40B3C0 #C040B3
tetradic
#B3C040 #40C08D #4D40C0 #C04073
square
#B3C040 #40C08D #4D40C0 #C04073
split-complementary
#B3C040 #4073C0 #8D40C0
monochromatic
#5E6421 #899230 #B3C040 #C5CF6E #D8DE9C

Accessibility & contrast

On white

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

On black

10.53
#B3C040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3C040
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3C040#FFFFFF#000000##000000
##B3C0401.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB72E
Deuteranopia (green-blind)
#CDB949
Tritanopia (blue-blind)
#BEB5A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b3c040;
/* rgb */ color: rgb(179, 192, 64);
/* oklch */ color: oklch(77.4% 0.150 114.9);
Tailwind
colors: {
  custom: {
    50: '#cdd27c',
    500: '#b3c040',
    950: '#000000',
  },
}
SCSS
$custom: #b3c040;
$custom-light: #cdd27c;
$custom-dark: #000000;
JSON
{
  "hex": "#b3c040",
  "rgb": {
    "r": 179,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 66.094,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.77386,
    "c": 0.14966,
    "h": 114.9
  },
  "luminance": 0.47653
}

Semantic roles & 50–950 ramp

primary
#B3C040
secondary
#9791CB
accent
#4EDA5C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B3C040

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

Preview Lab → · Contrast checker → · Palette generator →

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