#B1C238#B1C238

#B1C238 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.6% C 0.158 H 116.3°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#B1C238
RGBrgb(177, 194, 56)
HSLhsl(67, 55%, 49%)
HSVhsv(67, 71%, 76%)
CMYKcmyk(8.8%, 0%, 71.1%, 23.9%)
CIE-LABlab(74.96, -23.29, 63.57)
CIE-LCHlch(74.96, 67.70, 110.12°)
OKLaboklab(77.62% -0.07 0.1415)
OKLCHoklch(77.62% 0.158 116.3)
XYZxyz(38.1380, 48.2167, 11.0383)
Luminance0.4822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C238 #4938C2
analogous
#C28E38 #B1C238 #6CC238
triadic
#B1C238 #38B1C2 #C238B1
tetradic
#B1C238 #38C28E #4938C2 #C2386C
square
#B1C238 #38C28E #4938C2 #C2386C
split-complementary
#B1C238 #386CC2 #8E38C2
monochromatic
#5A631D #86932A #B1C238 #C5D265 #D7E094

Accessibility & contrast

On white

1.97
#B1C238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#B1C238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C238
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C238#FFFFFF#000000##000000
##B1C2381.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB81F
Deuteranopia (green-blind)
#CEB943
Tritanopia (blue-blind)
#BCB7A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b1c238;
/* rgb */ color: rgb(177, 194, 56);
/* oklch */ color: oklch(77.6% 0.158 116.3);
Tailwind
colors: {
  custom: {
    50: '#ccd478',
    500: '#b1c238',
    950: '#000000',
  },
}
SCSS
$custom: #b1c238;
$custom-light: #ccd478;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c238",
  "rgb": {
    "r": 177,
    "g": 194,
    "b": 56
  },
  "hsl": {
    "h": 67.391,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77617,
    "c": 0.15785,
    "h": 116.3
  },
  "luminance": 0.48216
}

Semantic roles & 50–950 ramp

primary
#B1C238
secondary
#928ACB
accent
#49DF5C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #B1C238

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

Preview Lab → · Contrast checker → · Palette generator →

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