#B3C240#B3C240

#B3C240 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 77.8% C 0.152 H 115.7°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#B3C240
RGBrgb(179, 194, 64)
HSLhsl(67, 52%, 51%)
HSVhsv(67, 67%, 76%)
CMYKcmyk(7.7%, 0%, 67%, 23.9%)
CIE-LABlab(75.16, -22.01, 60.83)
CIE-LCHlch(75.16, 64.69, 109.89°)
OKLaboklab(77.83% -0.0658 0.1369)
OKLCHoklch(77.83% 0.152 115.7)
XYZxyz(38.8085, 48.5380, 12.1739)
Luminance0.4854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3C240 #4F40C2
analogous
#C29040 #B3C240 #72C240
triadic
#B3C240 #40B3C2 #C240B3
tetradic
#B3C240 #40C290 #4F40C2 #C24072
square
#B3C240 #40C290 #4F40C2 #C24072
split-complementary
#B3C240 #4072C2 #9040C2
monochromatic
#5F6721 #899530 #B3C240 #C5D16E #D8E09D

Accessibility & contrast

On white

1.96
#B3C240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#B3C240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3C240
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3C240#FFFFFF#000000##000000
##B3C2401.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82D
Deuteranopia (green-blind)
#CEBA49
Tritanopia (blue-blind)
#BEB7A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b3c240;
/* rgb */ color: rgb(179, 194, 64);
/* oklch */ color: oklch(77.8% 0.152 115.7);
Tailwind
colors: {
  custom: {
    50: '#cdd47c',
    500: '#b3c240',
    950: '#000000',
  },
}
SCSS
$custom: #b3c240;
$custom-light: #cdd47c;
$custom-dark: #000000;
JSON
{
  "hex": "#b3c240",
  "rgb": {
    "r": 179,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 66.923,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77833,
    "c": 0.15192,
    "h": 115.7
  },
  "luminance": 0.48537
}

Semantic roles & 50–950 ramp

primary
#B3C240
secondary
#9992CC
accent
#4DDB5D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B3C240

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

Preview Lab → · Contrast checker → · Palette generator →

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