#B4A92F#B4A92F

#B4A92F is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.3% C 0.137 H 104.1°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#B4A92F
RGBrgb(180, 169, 47)
HSLhsl(55, 59%, 45%)
HSVhsv(55, 74%, 71%)
CMYKcmyk(0%, 6.1%, 73.9%, 29.4%)
CIE-LABlab(68.23, -9.79, 60.38)
CIE-LCHlch(68.23, 61.17, 99.21°)
OKLaboklab(72.28% -0.0333 0.133)
OKLCHoklch(72.28% 0.137 104.1)
XYZxyz(33.5249, 38.2858, 8.3128)
Luminance0.3828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A92F #2F3AB4
analogous
#B4672F #B4A92F #7CB42F
triadic
#B4A92F #2FB4A9 #A92FB4
tetradic
#B4A92F #2FB467 #2F3AB4 #B42F7C
square
#B4A92F #2FB467 #2F3AB4 #B42F7C
split-complementary
#B4A92F #2F7CB4 #672FB4
monochromatic
#534E16 #837B22 #B4A92F #D1C64F #DED680

Accessibility & contrast

On white

2.43
#B4A92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#B4A92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A92F
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A92F#FFFFFF#000000##000000
##B4A92F1.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A318
Deuteranopia (green-blind)
#BCA938
Tritanopia (blue-blind)
#C29D91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b4a92f;
/* rgb */ color: rgb(180, 169, 47);
/* oklch */ color: oklch(72.3% 0.137 104.1);
Tailwind
colors: {
  custom: {
    50: '#cec271',
    500: '#b4a92f',
    950: '#000000',
  },
}
SCSS
$custom: #b4a92f;
$custom-light: #cec271;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a92f",
  "rgb": {
    "r": 180,
    "g": 169,
    "b": 47
  },
  "hsl": {
    "h": 55.038,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72278,
    "c": 0.13714,
    "h": 104.1
  },
  "luminance": 0.38284
}

Semantic roles & 50–950 ramp

primary
#B4A92F
secondary
#787FC7
accent
#53E246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A92F

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

Preview Lab → · Contrast checker → · Palette generator →

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