#B0C031#B0C031

#B0C031 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.0% C 0.160 H 115.9°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#B0C031
RGBrgb(176, 192, 49)
HSLhsl(67, 59%, 47%)
HSVhsv(67, 74%, 75%)
CMYKcmyk(8.3%, 0%, 74.5%, 24.7%)
CIE-LABlab(74.29, -23.07, 65.31)
CIE-LCHlch(74.29, 69.26, 109.45°)
OKLaboklab(77.04% -0.07 0.144)
OKLCHoklch(77.04% 0.16 115.9)
XYZxyz(37.3095, 47.1517, 10.0409)
Luminance0.4715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0C031 #4131C0
analogous
#C08831 #B0C031 #69C031
triadic
#B0C031 #31B0C0 #C031B0
tetradic
#B0C031 #31C088 #4131C0 #C03169
square
#B0C031 #31C088 #4131C0 #C03169
split-complementary
#B0C031 #3169C0 #8831C0
monochromatic
#575E18 #838F25 #B0C031 #C7D559 #D7E18A

Accessibility & contrast

On white

2.01
#B0C031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#B0C031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0C031
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0C031#FFFFFF#000000##000000
##B0C0311.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB610
Deuteranopia (green-blind)
#CCB83D
Tritanopia (blue-blind)
#BBB5A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b0c031;
/* rgb */ color: rgb(176, 192, 49);
/* oklch */ color: oklch(77.0% 0.160 115.9);
Tailwind
colors: {
  custom: {
    50: '#cbd274',
    500: '#b0c031',
    950: '#000000',
  },
}
SCSS
$custom: #b0c031;
$custom-light: #cbd274;
$custom-dark: #000000;
JSON
{
  "hex": "#b0c031",
  "rgb": {
    "r": 176,
    "g": 192,
    "b": 49
  },
  "hsl": {
    "h": 66.713,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.77044,
    "c": 0.16009,
    "h": 115.9
  },
  "luminance": 0.47151
}

Semantic roles & 50–950 ramp

primary
#B0C031
secondary
#8A82CB
accent
#45E357
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #B0C031

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

Preview Lab → · Contrast checker → · Palette generator →

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