#B0AF2E#B0AF2E

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

Color values

HEX#B0AF2E
RGBrgb(176, 175, 46)
HSLhsl(60, 59%, 44%)
HSVhsv(60, 74%, 69%)
CMYKcmyk(0%, 0.6%, 73.9%, 31%)
CIE-LABlab(69.53, -14.68, 61.84)
CIE-LCHlch(69.53, 63.56, 103.36°)
OKLaboklab(73.23% -0.0469 0.1361)
OKLCHoklch(73.23% 0.144 109)
XYZxyz(33.7289, 40.0884, 8.5454)
Luminance0.4009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AF2E #2E2FB0
analogous
#B06E2E #B0AF2E #70B02E
triadic
#B0AF2E #2EB0AF #AF2EB0
tetradic
#B0AF2E #2EB06E #2E2FB0 #B02E70
square
#B0AF2E #2EB06E #2E2FB0 #B02E70
split-complementary
#B0AF2E #2E70B0 #6E2EB0
monochromatic
#4F4F15 #7F7F21 #B0AF2E #D0CF4B #DDDC7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0AF2E#FFFFFF#000000##000000
##B0AF2E1.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)
#BDA813
Deuteranopia (green-blind)
#BFAC38
Tritanopia (blue-blind)
#BDA496
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b0af2e;
/* rgb */ color: rgb(176, 175, 46);
/* oklch */ color: oklch(73.2% 0.144 109.0);
Tailwind
colors: {
  custom: {
    50: '#cbc671',
    500: '#b0af2e',
    950: '#000000',
  },
}
SCSS
$custom: #b0af2e;
$custom-light: #cbc671;
$custom-dark: #000000;
JSON
{
  "hex": "#b0af2e",
  "rgb": {
    "r": 176,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 59.538,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73231,
    "c": 0.14396,
    "h": 109
  },
  "luminance": 0.40087
}

Semantic roles & 50–950 ramp

primary
#B0AF2E
secondary
#7575C5
accent
#47E246
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #B0AF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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