#B0B42E#B0B42E

#B0B42E is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.3% C 0.149 H 111.3°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#B0B42E
RGBrgb(176, 180, 46)
HSLhsl(62, 59%, 44%)
HSVhsv(62, 74%, 71%)
CMYKcmyk(2.2%, 0%, 74.4%, 29.4%)
CIE-LABlab(70.92, -17.23, 63.14)
CIE-LCHlch(70.92, 65.45, 105.26°)
OKLaboklab(74.34% -0.054 0.1389)
OKLCHoklch(74.34% 0.149 111.3)
XYZxyz(34.7201, 42.0708, 8.8758)
Luminance0.4207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B42E #322EB4
analogous
#B4752E #B0B42E #6DB42E
triadic
#B0B42E #2EB0B4 #B42EB0
tetradic
#B0B42E #2EB475 #322EB4 #B42E6D
square
#B0B42E #2EB475 #322EB4 #B42E6D
split-complementary
#B0B42E #2E6DB4 #752EB4
monochromatic
#515315 #808322 #B0B42E #CED24E #DBDE7E

Accessibility & contrast

On white

2.23
#B0B42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#B0B42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B42E
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B42E#FFFFFF#000000##000000
##B0B42E1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC10
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#BCA99B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b0b42e;
/* rgb */ color: rgb(176, 180, 46);
/* oklch */ color: oklch(74.3% 0.149 111.3);
Tailwind
colors: {
  custom: {
    50: '#cbca71',
    500: '#b0b42e',
    950: '#000000',
  },
}
SCSS
$custom: #b0b42e;
$custom-light: #cbca71;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b42e",
  "rgb": {
    "r": 176,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 61.791,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7434,
    "c": 0.149,
    "h": 111.3
  },
  "luminance": 0.4207
}

Semantic roles & 50–950 ramp

primary
#B0B42E
secondary
#7977C7
accent
#45E24A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #B0B42E

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

Preview Lab → · Contrast checker → · Palette generator →

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