#B0C126#B0C126

#B0C126 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.2% C 0.167 H 116.2°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#B0C126
RGBrgb(176, 193, 38)
HSLhsl(67, 67%, 45%)
HSVhsv(67, 80%, 76%)
CMYKcmyk(8.8%, 0%, 80.3%, 24.3%)
CIE-LABlab(74.52, -24.00, 68.82)
CIE-LCHlch(74.52, 72.88, 109.23°)
OKLaboklab(77.21% -0.0734 0.1495)
OKLCHoklch(77.21% 0.167 116.2)
XYZxyz(37.3254, 47.5105, 9.0375)
Luminance0.4751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0C126 #3726C1
analogous
#C18526 #B0C126 #62C126
triadic
#B0C126 #26B0C1 #C126B0
tetradic
#B0C126 #26C185 #3726C1 #C12662
square
#B0C126 #26C185 #3726C1 #C12662
split-complementary
#B0C126 #2662C1 #8526C1
monochromatic
#535B12 #818E1C #B0C126 #CBDB49 #DAE57C

Accessibility & contrast

On white

2.00
#B0C126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#B0C126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0C126
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0C126#FFFFFF#000000##000000
##B0C1261.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#CEB836
Tritanopia (blue-blind)
#BCB6A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b0c126;
/* rgb */ color: rgb(176, 193, 38);
/* oklch */ color: oklch(77.2% 0.167 116.2);
Tailwind
colors: {
  custom: {
    50: '#ccd36f',
    500: '#b0c126',
    950: '#000000',
  },
}
SCSS
$custom: #b0c126;
$custom-light: #ccd36f;
$custom-dark: #000000;
JSON
{
  "hex": "#b0c126",
  "rgb": {
    "r": 176,
    "g": 193,
    "b": 38
  },
  "hsl": {
    "h": 66.581,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.77211,
    "c": 0.16658,
    "h": 116.2
  },
  "luminance": 0.4751
}

Semantic roles & 50–950 ramp

primary
#B0C126
secondary
#7F75CD
accent
#3EEA51
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B0C126

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

Preview Lab → · Contrast checker → · Palette generator →

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