#B3C640#B3C640

#B3C640 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 78.7% C 0.157 H 117.1°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#B3C640
RGBrgb(179, 198, 64)
HSLhsl(69, 54%, 51%)
HSVhsv(69, 68%, 78%)
CMYKcmyk(9.6%, 0%, 67.7%, 22.4%)
CIE-LABlab(76.28, -23.97, 61.96)
CIE-LCHlch(76.28, 66.44, 111.14°)
OKLaboklab(78.73% -0.0713 0.1393)
OKLCHoklch(78.73% 0.157 117.1)
XYZxyz(39.7108, 50.3425, 12.4746)
Luminance0.5034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3C640 #5340C6
analogous
#C69640 #B3C640 #70C640
triadic
#B3C640 #40B3C6 #C640B3
tetradic
#B3C640 #40C696 #5340C6 #C64070
square
#B3C640 #40C696 #5340C6 #C64070
split-complementary
#B3C640 #4070C6 #9640C6
monochromatic
#616C20 #8B9B2E #B3C640 #C6D46F #D9E29E

Accessibility & contrast

On white

1.90
#B3C640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#B3C640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3C640
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3C640#FFFFFF#000000##000000
##B3C6401.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2C
Deuteranopia (green-blind)
#D1BD4A
Tritanopia (blue-blind)
#BEBBAB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b3c640;
/* rgb */ color: rgb(179, 198, 64);
/* oklch */ color: oklch(78.7% 0.157 117.1);
Tailwind
colors: {
  custom: {
    50: '#cdd77c',
    500: '#b3c640',
    950: '#000000',
  },
}
SCSS
$custom: #b3c640;
$custom-light: #cdd77c;
$custom-dark: #000000;
JSON
{
  "hex": "#b3c640",
  "rgb": {
    "r": 179,
    "g": 198,
    "b": 64
  },
  "hsl": {
    "h": 68.507,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78728,
    "c": 0.1565,
    "h": 117.1
  },
  "luminance": 0.50342
}

Semantic roles & 50–950 ramp

primary
#B3C640
secondary
#3E3575
accent
#4ADD5F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B3C640

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

Preview Lab → · Contrast checker → · Palette generator →

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