#B0A42E#B0A42E

#B0A42E is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.8% C 0.134 H 103.4°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#B0A42E
RGBrgb(176, 164, 46)
HSLhsl(54, 59%, 44%)
HSVhsv(54, 74%, 69%)
CMYKcmyk(0%, 6.8%, 73.9%, 31%)
CIE-LABlab(66.50, -8.97, 58.97)
CIE-LCHlch(66.50, 59.65, 98.65°)
OKLaboklab(70.82% -0.0309 0.13)
OKLCHoklch(70.82% 0.134 103.4)
XYZxyz(31.6745, 35.9796, 7.8606)
Luminance0.3598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A42E #2E3AB0
analogous
#B0632E #B0A42E #7BB02E
triadic
#B0A42E #2EB0A4 #A42EB0
tetradic
#B0A42E #2EB063 #2E3AB0 #B02E7B
square
#B0A42E #2EB063 #2E3AB0 #B02E7B
split-complementary
#B0A42E #2E7BB0 #632EB0
monochromatic
#4F4A15 #7F7721 #B0A42E #D0C44B #DDD47C

Accessibility & contrast

On white

2.56
#B0A42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#B0A42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A42E
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A42E#FFFFFF#000000##000000
##B0A42E1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F18
Deuteranopia (green-blind)
#B7A436
Tritanopia (blue-blind)
#BD988D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b0a42e;
/* rgb */ color: rgb(176, 164, 46);
/* oklch */ color: oklch(70.8% 0.134 103.4);
Tailwind
colors: {
  custom: {
    50: '#cbbe6f',
    500: '#b0a42e',
    950: '#000000',
  },
}
SCSS
$custom: #b0a42e;
$custom-light: #cbbe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a42e",
  "rgb": {
    "r": 176,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 54.462,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70818,
    "c": 0.13363,
    "h": 103.4
  },
  "luminance": 0.35978
}

Semantic roles & 50–950 ramp

primary
#B0A42E
secondary
#757CC5
accent
#54E246
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #B0A42E

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

Preview Lab → · Contrast checker → · Palette generator →

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