#B0C338#B0C338

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

Color values

HEX#B0C338
RGBrgb(176, 195, 56)
HSLhsl(68, 55%, 49%)
HSVhsv(68, 71%, 76%)
CMYKcmyk(9.7%, 0%, 71.3%, 23.5%)
CIE-LABlab(75.17, -24.19, 63.75)
CIE-LCHlch(75.17, 68.19, 110.78°)
OKLaboklab(77.77% -0.0725 0.1419)
OKLCHoklch(77.77% 0.159 117.1)
XYZxyz(38.1343, 48.5463, 11.1021)
Luminance0.4855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0C338 #4B38C3
analogous
#C39038 #B0C338 #6BC338
triadic
#B0C338 #38B0C3 #C338B0
tetradic
#B0C338 #38C390 #4B38C3 #C3386B
square
#B0C338 #38C390 #4B38C3 #C3386B
split-complementary
#B0C338 #386BC3 #9038C3
monochromatic
#5A641D #85932A #B0C338 #C4D365 #D6E195

Accessibility & contrast

On white

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

On black

10.71
#B0C338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0C338
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0C338#FFFFFF#000000##000000
##B0C3381.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B91F
Deuteranopia (green-blind)
#CEBA43
Tritanopia (blue-blind)
#BBB8A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b0c338;
/* rgb */ color: rgb(176, 195, 56);
/* oklch */ color: oklch(77.8% 0.159 117.1);
Tailwind
colors: {
  custom: {
    50: '#cbd578',
    500: '#b0c338',
    950: '#000000',
  },
}
SCSS
$custom: #b0c338;
$custom-light: #cbd578;
$custom-dark: #000000;
JSON
{
  "hex": "#b0c338",
  "rgb": {
    "r": 176,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 68.201,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77765,
    "c": 0.15931,
    "h": 117.1
  },
  "luminance": 0.48546
}

Semantic roles & 50–950 ramp

primary
#B0C338
secondary
#948BCC
accent
#49DF5E
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B

Preview Lab

Preview with #B0C338

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

Preview Lab → · Contrast checker → · Palette generator →

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