#B1B23E#B1B23E

#B1B23E is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.1% C 0.136 H 109.8°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#B1B23E
RGBrgb(177, 178, 62)
HSLhsl(61, 48%, 47%)
HSVhsv(61, 65%, 70%)
CMYKcmyk(0.6%, 0%, 65.2%, 30.2%)
CIE-LABlab(70.55, -14.94, 56.83)
CIE-LCHlch(70.55, 58.76, 104.73°)
OKLaboklab(74.1% -0.0461 0.1282)
OKLCHoklch(74.1% 0.136 109.8)
XYZxyz(34.9225, 41.5367, 10.7343)
Luminance0.4154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B23E #3F3EB2
analogous
#B2793E #B1B23E #77B23E
triadic
#B1B23E #3EB1B2 #B23EB1
tetradic
#B1B23E #3EB279 #3F3EB2 #B23E77
square
#B1B23E #3EB279 #3F3EB2 #B23E77
split-complementary
#B1B23E #3E77B2 #793EB2
monochromatic
#57571E #84852E #B1B23E #C8C964 #D8D992

Accessibility & contrast

On white

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

On black

9.31
#B1B23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B23E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B23E#FFFFFF#000000##000000
##B1B23E1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB2E
Deuteranopia (green-blind)
#C1AE46
Tritanopia (blue-blind)
#BDA79A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b1b23e;
/* rgb */ color: rgb(177, 178, 62);
/* oklch */ color: oklch(74.1% 0.136 109.8);
Tailwind
colors: {
  custom: {
    50: '#cbc879',
    500: '#b1b23e',
    950: '#000000',
  },
}
SCSS
$custom: #b1b23e;
$custom-light: #cbc879;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b23e",
  "rgb": {
    "r": 177,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 60.517,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74098,
    "c": 0.13629,
    "h": 109.8
  },
  "luminance": 0.41536
}

Semantic roles & 50–950 ramp

primary
#B1B23E
secondary
#8888C4
accent
#50D851
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B1B23E

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

Preview Lab → · Contrast checker → · Palette generator →

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