#B0A42F#B0A42F

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

Color values

HEX#B0A42F
RGBrgb(176, 164, 47)
HSLhsl(54, 58%, 44%)
HSVhsv(54, 73%, 69%)
CMYKcmyk(0%, 6.8%, 73.3%, 31%)
CIE-LABlab(66.51, -8.92, 58.61)
CIE-LCHlch(66.51, 59.29, 98.66°)
OKLaboklab(70.83% -0.0307 0.1294)
OKLCHoklch(70.83% 0.133 103.3)
XYZxyz(31.6944, 35.9876, 7.9656)
Luminance0.3599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A42F #2F3BB0
analogous
#B0632F #B0A42F #7BB02F
triadic
#B0A42F #2FB0A4 #A42FB0
tetradic
#B0A42F #2FB063 #2F3BB0 #B02F7B
square
#B0A42F #2FB063 #2F3BB0 #B02F7B
split-complementary
#B0A42F #2F7BB0 #632FB0
monochromatic
#4F4A15 #807722 #B0A42F #CFC34D #DCD37D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0A42F#FFFFFF#000000##000000
##B0A42F1.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)
#B39F1A
Deuteranopia (green-blind)
#B7A437
Tritanopia (blue-blind)
#BD988D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b0a42f;
/* rgb */ color: rgb(176, 164, 47);
/* oklch */ color: oklch(70.8% 0.133 103.3);
Tailwind
colors: {
  custom: {
    50: '#cbbe70',
    500: '#b0a42f',
    950: '#000000',
  },
}
SCSS
$custom: #b0a42f;
$custom-light: #cbbe70;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a42f",
  "rgb": {
    "r": 176,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 54.419,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70825,
    "c": 0.13303,
    "h": 103.3
  },
  "luminance": 0.35986
}

Semantic roles & 50–950 ramp

primary
#B0A42F
secondary
#767DC5
accent
#55E147
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #B0A42F

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

Preview Lab → · Contrast checker → · Palette generator →

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