#B1B237#B1B237

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

Color values

HEX#B1B237
RGBrgb(177, 178, 55)
HSLhsl(60, 53%, 46%)
HSVhsv(60, 69%, 70%)
CMYKcmyk(0.6%, 0%, 69.1%, 30.2%)
CIE-LABlab(70.50, -15.34, 59.55)
CIE-LCHlch(70.50, 61.49, 104.45°)
OKLaboklab(74.04% -0.048 0.1328)
OKLCHoklch(74.04% 0.141 109.9)
XYZxyz(34.7426, 41.4647, 9.7870)
Luminance0.4146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B237 #3837B2
analogous
#B27537 #B1B237 #73B237
triadic
#B1B237 #37B1B2 #B237B1
tetradic
#B1B237 #37B275 #3837B2 #B23773
square
#B1B237 #37B275 #3837B2 #B23773
split-complementary
#B1B237 #3773B2 #7537B2
monochromatic
#54541A #838329 #B1B237 #CBCC5A #DADB89

Accessibility & contrast

On white

2.26
#B1B237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#B1B237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B237
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B237#FFFFFF#000000##000000
##B1B2371.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1b237;
/* rgb */ color: rgb(177, 178, 55);
/* oklch */ color: oklch(74.0% 0.141 109.9);
Tailwind
colors: {
  custom: {
    50: '#ccc876',
    500: '#b1b237',
    950: '#000000',
  },
}
SCSS
$custom: #b1b237;
$custom-light: #ccc876;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b237",
  "rgb": {
    "r": 177,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 60.488,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74042,
    "c": 0.14121,
    "h": 109.9
  },
  "luminance": 0.41464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1B237

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

Preview Lab → · Contrast checker → · Palette generator →

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