#B2B237#B2B237

#B2B237 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.1% C 0.141 H 109.4°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#B2B237
RGBrgb(178, 178, 55)
HSLhsl(60, 53%, 46%)
HSVhsv(60, 69%, 70%)
CMYKcmyk(0%, 0%, 69.1%, 30.2%)
CIE-LABlab(70.58, -14.91, 59.66)
CIE-LCHlch(70.58, 61.49, 104.04°)
OKLaboklab(74.13% -0.0468 0.133)
OKLCHoklch(74.13% 0.141 109.4)
XYZxyz(34.9713, 41.5826, 9.7978)
Luminance0.4158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B237 #3737B2
analogous
#B27437 #B2B237 #74B237
triadic
#B2B237 #37B2B2 #B237B2
tetradic
#B2B237 #37B274 #3737B2 #B23774
square
#B2B237 #37B274 #3737B2 #B23774
split-complementary
#B2B237 #3774B2 #7437B2
monochromatic
#54541A #838329 #B2B237 #CCCC5A #DBDB89

Accessibility & contrast

On white

2.25
#B2B237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#B2B237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B237
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B237#FFFFFF#000000##000000
##B2B2371.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB23
Deuteranopia (green-blind)
#C2AE40
Tritanopia (blue-blind)
#BFA79A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b237;
/* rgb */ color: rgb(178, 178, 55);
/* oklch */ color: oklch(74.1% 0.141 109.4);
Tailwind
colors: {
  custom: {
    50: '#ccc876',
    500: '#b2b237',
    950: '#000000',
  },
}
SCSS
$custom: #b2b237;
$custom-light: #ccc876;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b237",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 60,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74127,
    "c": 0.14101,
    "h": 109.4
  },
  "luminance": 0.41582
}

Semantic roles & 50–950 ramp

primary
#B2B237
secondary
#8080C5
accent
#4CDC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B237

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

Preview Lab → · Contrast checker → · Palette generator →

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