#B2A92F#B2A92F

#B2A92F is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.1% C 0.137 H 105.1°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#B2A92F
RGBrgb(178, 169, 47)
HSLhsl(56, 58%, 44%)
HSVhsv(56, 74%, 70%)
CMYKcmyk(0%, 5.1%, 73.6%, 30.2%)
CIE-LABlab(68.06, -10.66, 60.15)
CIE-LCHlch(68.06, 61.09, 100.05°)
OKLaboklab(72.1% -0.0357 0.1326)
OKLCHoklch(72.1% 0.137 105.1)
XYZxyz(33.0625, 38.0474, 8.2911)
Luminance0.3805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A92F #2F38B2
analogous
#B2682F #B2A92F #7AB22F
triadic
#B2A92F #2FB2A9 #A92FB2
tetradic
#B2A92F #2FB268 #2F38B2 #B22F7A
square
#B2A92F #2FB268 #2F38B2 #B22F7A
split-complementary
#B2A92F #2F7AB2 #682FB2
monochromatic
#514D15 #827B22 #B2A92F #D0C74E #DDD77E

Accessibility & contrast

On white

2.44
#B2A92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#B2A92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A92F
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A92F#FFFFFF#000000##000000
##B2A92F1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2a92f;
/* rgb */ color: rgb(178, 169, 47);
/* oklch */ color: oklch(72.1% 0.137 105.1);
Tailwind
colors: {
  custom: {
    50: '#cdc270',
    500: '#b2a92f',
    950: '#000000',
  },
}
SCSS
$custom: #b2a92f;
$custom-light: #cdc270;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a92f",
  "rgb": {
    "r": 178,
    "g": 169,
    "b": 47
  },
  "hsl": {
    "h": 55.878,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72096,
    "c": 0.13735,
    "h": 105.1
  },
  "luminance": 0.38046
}

Semantic roles & 50–950 ramp

primary
#B2A92F
secondary
#777CC6
accent
#51E146
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A92F

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

Preview Lab → · Contrast checker → · Palette generator →

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