#B0C238#B0C238

#B0C238 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.5% C 0.158 H 116.7°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#B0C238
RGBrgb(176, 194, 56)
HSLhsl(68, 55%, 49%)
HSVhsv(68, 71%, 76%)
CMYKcmyk(9.3%, 0%, 71.1%, 23.9%)
CIE-LABlab(74.89, -23.70, 63.48)
CIE-LCHlch(74.89, 67.76, 110.48°)
OKLaboklab(77.54% -0.0711 0.1413)
OKLCHoklch(77.54% 0.158 116.7)
XYZxyz(37.9110, 48.0997, 11.0276)
Luminance0.4810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0C238 #4A38C2
analogous
#C28F38 #B0C238 #6BC238
triadic
#B0C238 #38B0C2 #C238B0
tetradic
#B0C238 #38C28F #4A38C2 #C2386B
square
#B0C238 #38C28F #4A38C2 #C2386B
split-complementary
#B0C238 #386BC2 #8F38C2
monochromatic
#5A631D #85932A #B0C238 #C4D265 #D6E094

Accessibility & contrast

On white

1.98
#B0C238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#B0C238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0C238
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0C238#FFFFFF#000000##000000
##B0C2381.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0c238;
/* rgb */ color: rgb(176, 194, 56);
/* oklch */ color: oklch(77.5% 0.158 116.7);
Tailwind
colors: {
  custom: {
    50: '#cbd478',
    500: '#b0c238',
    950: '#000000',
  },
}
SCSS
$custom: #b0c238;
$custom-light: #cbd478;
$custom-dark: #000000;
JSON
{
  "hex": "#b0c238",
  "rgb": {
    "r": 176,
    "g": 194,
    "b": 56
  },
  "hsl": {
    "h": 67.826,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77539,
    "c": 0.15819,
    "h": 116.7
  },
  "luminance": 0.48099
}

Semantic roles & 50–950 ramp

primary
#B0C238
secondary
#938ACB
accent
#49DF5D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #B0C238

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

Preview Lab → · Contrast checker → · Palette generator →

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