#B3C238#B3C238

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

Color values

HEX#B3C238
RGBrgb(179, 194, 56)
HSLhsl(67, 55%, 49%)
HSVhsv(67, 71%, 76%)
CMYKcmyk(7.7%, 0%, 71.1%, 23.9%)
CIE-LABlab(75.11, -22.45, 63.77)
CIE-LCHlch(75.11, 67.61, 109.40°)
OKLaboklab(77.77% -0.0678 0.1418)
OKLCHoklch(77.77% 0.157 115.6)
XYZxyz(38.5970, 48.4534, 11.0598)
Luminance0.4845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3C238 #4738C2
analogous
#C28C38 #B3C238 #6EC238
triadic
#B3C238 #38B3C2 #C238B3
tetradic
#B3C238 #38C28C #4738C2 #C2386E
square
#B3C238 #38C28C #4738C2 #C2386E
split-complementary
#B3C238 #386EC2 #8C38C2
monochromatic
#5B631D #87932A #B3C238 #C7D265 #D8E094

Accessibility & contrast

On white

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

On black

10.69
#B3C238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3C238
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3C238#FFFFFF#000000##000000
##B3C2381.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B81F
Deuteranopia (green-blind)
#CFBA43
Tritanopia (blue-blind)
#BEB7A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b3c238;
/* rgb */ color: rgb(179, 194, 56);
/* oklch */ color: oklch(77.8% 0.157 115.6);
Tailwind
colors: {
  custom: {
    50: '#cdd478',
    500: '#b3c238',
    950: '#000000',
  },
}
SCSS
$custom: #b3c238;
$custom-light: #cdd478;
$custom-dark: #000000;
JSON
{
  "hex": "#b3c238",
  "rgb": {
    "r": 179,
    "g": 194,
    "b": 56
  },
  "hsl": {
    "h": 66.522,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77773,
    "c": 0.15721,
    "h": 115.6
  },
  "luminance": 0.48453
}

Semantic roles & 50–950 ramp

primary
#B3C238
secondary
#918ACB
accent
#49DF59
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B3C238

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

Preview Lab → · Contrast checker → · Palette generator →

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