#B2B239#B2B239

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

Color values

HEX#B2B239
RGBrgb(178, 178, 57)
HSLhsl(60, 51%, 46%)
HSVhsv(60, 68%, 70%)
CMYKcmyk(0%, 0%, 68%, 30.2%)
CIE-LABlab(70.60, -14.81, 58.90)
CIE-LCHlch(70.60, 60.73, 104.11°)
OKLaboklab(74.14% -0.0463 0.1318)
OKLCHoklch(74.14% 0.14 109.4)
XYZxyz(35.0202, 41.6022, 10.0554)
Luminance0.4160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B239 #3939B2
analogous
#B27539 #B2B239 #75B239
triadic
#B2B239 #39B2B2 #B239B2
tetradic
#B2B239 #39B275 #3939B2 #B23975
square
#B2B239 #39B275 #3939B2 #B23975
split-complementary
#B2B239 #3975B2 #7539B2
monochromatic
#55551B #84842A #B2B239 #CBCB5D #DADA8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B239#FFFFFF#000000##000000
##B2B2391.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)
#C0AB27
Deuteranopia (green-blind)
#C2AF41
Tritanopia (blue-blind)
#BEA79A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b239;
/* rgb */ color: rgb(178, 178, 57);
/* oklch */ color: oklch(74.1% 0.140 109.4);
Tailwind
colors: {
  custom: {
    50: '#ccc877',
    500: '#b2b239',
    950: '#000000',
  },
}
SCSS
$custom: #b2b239;
$custom-light: #ccc877;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b239",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 60,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74142,
    "c": 0.13967,
    "h": 109.4
  },
  "luminance": 0.41601
}

Semantic roles & 50–950 ramp

primary
#B2B239
secondary
#8282C4
accent
#4DDB4D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B2B239

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

Preview Lab → · Contrast checker → · Palette generator →

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