#B0B230#B0B230

#B0B230 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.9% C 0.146 H 110.4°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#B0B230
RGBrgb(176, 178, 48)
HSLhsl(61, 58%, 44%)
HSVhsv(61, 73%, 70%)
CMYKcmyk(1.1%, 0%, 73%, 30.2%)
CIE-LABlab(70.38, -16.12, 61.95)
CIE-LCHlch(70.38, 64.01, 104.59°)
OKLaboklab(73.91% -0.0508 0.1367)
OKLCHoklch(73.91% 0.146 110.4)
XYZxyz(34.3596, 41.2853, 8.9546)
Luminance0.4128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B230 #3230B2
analogous
#B27330 #B0B230 #6FB230
triadic
#B0B230 #30B0B2 #B230B0
tetradic
#B0B230 #30B273 #3230B2 #B2306F
square
#B0B230 #30B273 #3230B2 #B2306F
split-complementary
#B0B230 #306FB2 #7330B2
monochromatic
#515216 #808223 #B0B230 #CED050 #DBDD80

Accessibility & contrast

On white

2.27
#B0B230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#B0B230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B230
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B230#FFFFFF#000000##000000
##B0B2301.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA16
Deuteranopia (green-blind)
#C1AE3A
Tritanopia (blue-blind)
#BCA799
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b0b230;
/* rgb */ color: rgb(176, 178, 48);
/* oklch */ color: oklch(73.9% 0.146 110.4);
Tailwind
colors: {
  custom: {
    50: '#cbc872',
    500: '#b0b230',
    950: '#000000',
  },
}
SCSS
$custom: #b0b230;
$custom-light: #cbc872;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b230",
  "rgb": {
    "r": 176,
    "g": 178,
    "b": 48
  },
  "hsl": {
    "h": 60.923,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73908,
    "c": 0.14581,
    "h": 110.4
  },
  "luminance": 0.41284
}

Semantic roles & 50–950 ramp

primary
#B0B230
secondary
#7978C6
accent
#47E149
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #B0B230

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

Preview Lab → · Contrast checker → · Palette generator →

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