#B0AF2D#B0AF2D

#B0AF2D is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.2% C 0.145 H 109.0°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#B0AF2D
RGBrgb(176, 175, 45)
HSLhsl(60, 59%, 43%)
HSVhsv(60, 74%, 69%)
CMYKcmyk(0%, 0.6%, 74.4%, 31%)
CIE-LABlab(69.53, -14.73, 62.18)
CIE-LCHlch(69.53, 63.90, 103.33°)
OKLaboklab(73.22% -0.0472 0.1366)
OKLCHoklch(73.22% 0.145 109)
XYZxyz(33.7094, 40.0806, 8.4428)
Luminance0.4008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AF2D #2D2EB0
analogous
#B06D2D #B0AF2D #6FB02D
triadic
#B0AF2D #2DB0AF #AF2DB0
tetradic
#B0AF2D #2DB06D #2D2EB0 #B02D6F
square
#B0AF2D #2DB06D #2D2EB0 #B02D6F
split-complementary
#B0AF2D #2D6FB0 #6D2DB0
monochromatic
#4F4E14 #7F7F21 #B0AF2D #D1D04A #DDDC7A

Accessibility & contrast

On white

2.33
#B0AF2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#B0AF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AF2D
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AF2D#FFFFFF#000000##000000
##B0AF2D1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA810
Deuteranopia (green-blind)
#BFAC37
Tritanopia (blue-blind)
#BDA496
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b0af2d;
/* rgb */ color: rgb(176, 175, 45);
/* oklch */ color: oklch(73.2% 0.145 109.0);
Tailwind
colors: {
  custom: {
    50: '#cbc670',
    500: '#b0af2d',
    950: '#000000',
  },
}
SCSS
$custom: #b0af2d;
$custom-light: #cbc670;
$custom-dark: #000000;
JSON
{
  "hex": "#b0af2d",
  "rgb": {
    "r": 176,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 59.542,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.73225,
    "c": 0.14453,
    "h": 109
  },
  "luminance": 0.4008
}

Semantic roles & 50–950 ramp

primary
#B0AF2D
secondary
#7374C5
accent
#47E245
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #B0AF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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