#B0B231#B0B231

#B0B231 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.9% C 0.145 H 110.4°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#B0B231
RGBrgb(176, 178, 49)
HSLhsl(61, 57%, 45%)
HSVhsv(61, 72%, 70%)
CMYKcmyk(1.1%, 0%, 72.5%, 30.2%)
CIE-LABlab(70.38, -16.08, 61.60)
CIE-LCHlch(70.38, 63.67, 104.63°)
OKLaboklab(73.91% -0.0506 0.1361)
OKLCHoklch(73.91% 0.145 110.4)
XYZxyz(34.3805, 41.2936, 9.0645)
Luminance0.4129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B231 #3331B2
analogous
#B27431 #B0B231 #70B231
triadic
#B0B231 #31B0B2 #B231B0
tetradic
#B0B231 #31B274 #3331B2 #B23170
square
#B0B231 #31B274 #3331B2 #B23170
split-complementary
#B0B231 #3170B2 #7431B2
monochromatic
#515217 #818224 #B0B231 #CDCF51 #DBDC81

Accessibility & contrast

On white

2.27
#B0B231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#B0B231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B231
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B231#FFFFFF#000000##000000
##B0B2311.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA18
Deuteranopia (green-blind)
#C1AE3B
Tritanopia (blue-blind)
#BCA799
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b0b231;
/* rgb */ color: rgb(176, 178, 49);
/* oklch */ color: oklch(73.9% 0.145 110.4);
Tailwind
colors: {
  custom: {
    50: '#cbc872',
    500: '#b0b231',
    950: '#000000',
  },
}
SCSS
$custom: #b0b231;
$custom-light: #cbc872;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b231",
  "rgb": {
    "r": 176,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 60.93,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73914,
    "c": 0.14523,
    "h": 110.4
  },
  "luminance": 0.41293
}

Semantic roles & 50–950 ramp

primary
#B0B231
secondary
#7B79C5
accent
#48E04A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #B0B231

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

Preview Lab → · Contrast checker → · Palette generator →

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