#B3C338#B3C338

#B3C338 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.0% C 0.158 H 115.9°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#B3C338
RGBrgb(179, 195, 56)
HSLhsl(67, 55%, 49%)
HSVhsv(67, 71%, 76%)
CMYKcmyk(8.2%, 0%, 71.3%, 23.5%)
CIE-LABlab(75.39, -22.94, 64.04)
CIE-LCHlch(75.39, 68.03, 109.71°)
OKLaboklab(78% -0.0692 0.1424)
OKLCHoklch(78% 0.158 115.9)
XYZxyz(38.8203, 48.9000, 11.1342)
Luminance0.4890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3C338 #4838C3
analogous
#C38D38 #B3C338 #6EC338
triadic
#B3C338 #38B3C3 #C338B3
tetradic
#B3C338 #38C38D #4838C3 #C3386E
square
#B3C338 #38C38D #4838C3 #C3386E
split-complementary
#B3C338 #386EC3 #8D38C3
monochromatic
#5C641D #87932A #B3C338 #C6D365 #D8E195

Accessibility & contrast

On white

1.95
#B3C338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#B3C338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3C338
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3C338#FFFFFF#000000##000000
##B3C3381.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B91F
Deuteranopia (green-blind)
#CFBB43
Tritanopia (blue-blind)
#BEB8A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b3c338;
/* rgb */ color: rgb(179, 195, 56);
/* oklch */ color: oklch(78.0% 0.158 115.9);
Tailwind
colors: {
  custom: {
    50: '#cdd578',
    500: '#b3c338',
    950: '#000000',
  },
}
SCSS
$custom: #b3c338;
$custom-light: #cdd578;
$custom-dark: #000000;
JSON
{
  "hex": "#b3c338",
  "rgb": {
    "r": 179,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 66.906,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77997,
    "c": 0.15831,
    "h": 115.9
  },
  "luminance": 0.48899
}

Semantic roles & 50–950 ramp

primary
#B3C338
secondary
#928BCC
accent
#49DF5A
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B3C338

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

Preview Lab → · Contrast checker → · Palette generator →

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