#B1B235#B1B235

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

Color values

HEX#B1B235
RGBrgb(177, 178, 53)
HSLhsl(60, 54%, 45%)
HSVhsv(60, 70%, 70%)
CMYKcmyk(0.6%, 0%, 70.2%, 30.2%)
CIE-LABlab(70.49, -15.45, 60.29)
CIE-LCHlch(70.49, 62.23, 104.37°)
OKLaboklab(74.03% -0.0485 0.134)
OKLCHoklch(74.03% 0.143 109.9)
XYZxyz(34.6957, 41.4459, 9.5397)
Luminance0.4144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B235 #3635B2
analogous
#B27435 #B1B235 #72B235
triadic
#B1B235 #35B1B2 #B235B1
tetradic
#B1B235 #35B274 #3635B2 #B23572
square
#B1B235 #35B274 #3635B2 #B23572
split-complementary
#B1B235 #3572B2 #7435B2
monochromatic
#535419 #828327 #B1B235 #CCCD57 #DADB86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B235#FFFFFF#000000##000000
##B1B2351.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)
#C0AA20
Deuteranopia (green-blind)
#C2AE3E
Tritanopia (blue-blind)
#BDA799
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b1b235;
/* rgb */ color: rgb(177, 178, 53);
/* oklch */ color: oklch(74.0% 0.143 109.9);
Tailwind
colors: {
  custom: {
    50: '#ccc875',
    500: '#b1b235',
    950: '#000000',
  },
}
SCSS
$custom: #b1b235;
$custom-light: #ccc875;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b235",
  "rgb": {
    "r": 177,
    "g": 178,
    "b": 53
  },
  "hsl": {
    "h": 60.48,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74027,
    "c": 0.14253,
    "h": 109.9
  },
  "luminance": 0.41445
}

Semantic roles & 50–950 ramp

primary
#B1B235
secondary
#7F7EC5
accent
#4ADD4B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B1B235

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

Preview Lab → · Contrast checker → · Palette generator →

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