#B2B23F#B2B23F

#B2B23F is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.2% C 0.135 H 109.3°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#B2B23F
RGBrgb(178, 178, 63)
HSLhsl(60, 48%, 47%)
HSVhsv(60, 65%, 70%)
CMYKcmyk(0%, 0%, 64.6%, 30.2%)
CIE-LABlab(70.64, -14.46, 56.54)
CIE-LCHlch(70.64, 58.36, 104.34°)
OKLaboklab(74.19% -0.0447 0.1278)
OKLCHoklch(74.19% 0.135 109.3)
XYZxyz(35.1788, 41.6656, 10.8908)
Luminance0.4167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B23F #3F3FB2
analogous
#B2793F #B2B23F #79B23F
triadic
#B2B23F #3FB2B2 #B23FB2
tetradic
#B2B23F #3FB279 #3F3FB2 #B23F79
square
#B2B23F #3FB279 #3F3FB2 #B23F79
split-complementary
#B2B23F #3F79B2 #793FB2
monochromatic
#58581F #85852F #B2B23F #C9C966 #D9D993

Accessibility & contrast

On white

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

On black

9.33
#B2B23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B23F
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B23F#FFFFFF#000000##000000
##B2B23F1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB30
Deuteranopia (green-blind)
#C1AF46
Tritanopia (blue-blind)
#BEA79A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b23f;
/* rgb */ color: rgb(178, 178, 63);
/* oklch */ color: oklch(74.2% 0.135 109.3);
Tailwind
colors: {
  custom: {
    50: '#ccc87a',
    500: '#b2b23f',
    950: '#000000',
  },
}
SCSS
$custom: #b2b23f;
$custom-light: #ccc87a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b23f",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 60,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.74191,
    "c": 0.13535,
    "h": 109.3
  },
  "luminance": 0.41665
}

Semantic roles & 50–950 ramp

primary
#B2B23F
secondary
#8989C4
accent
#50D750
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B23F

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

Preview Lab → · Contrast checker → · Palette generator →

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