#B0B237#B0B237

#B0B237 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.0% C 0.141 H 110.3°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#B0B237
RGBrgb(176, 178, 55)
HSLhsl(61, 53%, 46%)
HSVhsv(61, 69%, 70%)
CMYKcmyk(1.1%, 0%, 69.1%, 30.2%)
CIE-LABlab(70.42, -15.77, 59.44)
CIE-LCHlch(70.42, 61.50, 104.86°)
OKLaboklab(73.96% -0.0491 0.1326)
OKLCHoklch(73.96% 0.141 110.3)
XYZxyz(34.5156, 41.3477, 9.7764)
Luminance0.4135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B237 #3937B2
analogous
#B27737 #B0B237 #72B237
triadic
#B0B237 #37B0B2 #B237B0
tetradic
#B0B237 #37B277 #3937B2 #B23772
square
#B0B237 #37B277 #3937B2 #B23772
split-complementary
#B0B237 #3772B2 #7737B2
monochromatic
#54541A #828329 #B0B237 #CACC5A #D9DB89

Accessibility & contrast

On white

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

On black

9.27
#B0B237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B237
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B237#FFFFFF#000000##000000
##B0B2371.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA23
Deuteranopia (green-blind)
#C1AE40
Tritanopia (blue-blind)
#BCA79A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b0b237;
/* rgb */ color: rgb(176, 178, 55);
/* oklch */ color: oklch(74.0% 0.141 110.3);
Tailwind
colors: {
  custom: {
    50: '#cbc876',
    500: '#b0b237',
    950: '#000000',
  },
}
SCSS
$custom: #b0b237;
$custom-light: #cbc876;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b237",
  "rgb": {
    "r": 176,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 60.976,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73957,
    "c": 0.14143,
    "h": 110.3
  },
  "luminance": 0.41347
}

Semantic roles & 50–950 ramp

primary
#B0B237
secondary
#8180C5
accent
#4CDC4E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B0B237

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

Preview Lab → · Contrast checker → · Palette generator →

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