#B4B23F#B4B23F

#B4B23F is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.4% C 0.135 H 108.3°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#B4B23F
RGBrgb(180, 178, 63)
HSLhsl(59, 48%, 48%)
HSVhsv(59, 65%, 71%)
CMYKcmyk(0%, 1.1%, 65%, 29.4%)
CIE-LABlab(70.80, -13.60, 56.76)
CIE-LCHlch(70.80, 58.37, 103.47°)
OKLaboklab(74.36% -0.0424 0.1282)
OKLCHoklch(74.36% 0.135 108.3)
XYZxyz(35.6412, 41.9040, 10.9125)
Luminance0.4190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B23F #3F41B4
analogous
#B4773F #B4B23F #7CB43F
triadic
#B4B23F #3FB4B2 #B23FB4
tetradic
#B4B23F #3FB477 #3F41B4 #B43F7C
square
#B4B23F #3FB477 #3F41B4 #B43F7C
split-complementary
#B4B23F #3F7CB4 #773FB4
monochromatic
#59581F #87852F #B4B23F #CAC867 #DAD894

Accessibility & contrast

On white

2.24
#B4B23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#B4B23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B23F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B23F#FFFFFF#000000##000000
##B4B23F1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4b23f;
/* rgb */ color: rgb(180, 178, 63);
/* oklch */ color: oklch(74.4% 0.135 108.3);
Tailwind
colors: {
  custom: {
    50: '#cdc87a',
    500: '#b4b23f',
    950: '#000000',
  },
}
SCSS
$custom: #b4b23f;
$custom-light: #cdc87a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b23f",
  "rgb": {
    "r": 180,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 58.974,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74363,
    "c": 0.13501,
    "h": 108.3
  },
  "luminance": 0.41903
}

Semantic roles & 50–950 ramp

primary
#B4B23F
secondary
#8A8BC5
accent
#52D850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B4B23F

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

Preview Lab → · Contrast checker → · Palette generator →

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