#B0A238#B0A238

#B0A238 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.5% C 0.125 H 101.7°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#B0A238
RGBrgb(176, 162, 56)
HSLhsl(53, 52%, 45%)
HSVhsv(53, 68%, 69%)
CMYKcmyk(0%, 8%, 68.2%, 31%)
CIE-LABlab(66.03, -7.40, 54.61)
CIE-LCHlch(66.03, 55.11, 97.72°)
OKLaboklab(70.46% -0.0254 0.1226)
OKLCHoklch(70.46% 0.125 101.7)
XYZxyz(31.5400, 35.3576, 8.9040)
Luminance0.3536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A238 #3846B0
analogous
#B06638 #B0A238 #82B038
triadic
#B0A238 #38B0A2 #A238B0
tetradic
#B0A238 #38B066 #3846B0 #B03882
square
#B0A238 #38B066 #3846B0 #B03882
split-complementary
#B0A238 #3882B0 #6638B0
monochromatic
#534D1A #827729 #B0A238 #CBBE5B #D9D089

Accessibility & contrast

On white

2.60
#B0A238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#B0A238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A238
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A238#FFFFFF#000000##000000
##B0A2381.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D29
Deuteranopia (green-blind)
#B5A33E
Tritanopia (blue-blind)
#BD978C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b0a238;
/* rgb */ color: rgb(176, 162, 56);
/* oklch */ color: oklch(70.5% 0.125 101.7);
Tailwind
colors: {
  custom: {
    50: '#cbbd75',
    500: '#b0a238',
    950: '#000000',
  },
}
SCSS
$custom: #b0a238;
$custom-light: #cbbd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a238",
  "rgb": {
    "r": 176,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 53,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70459,
    "c": 0.12521,
    "h": 101.7
  },
  "luminance": 0.35356
}

Semantic roles & 50–950 ramp

primary
#B0A238
secondary
#8088C4
accent
#5DDB4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B0A238

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

Preview Lab → · Contrast checker → · Palette generator →

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