#B7C231#B7C231

#B7C231 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.0% C 0.160 H 113.9°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#B7C231
RGBrgb(183, 194, 49)
HSLhsl(65, 60%, 48%)
HSVhsv(65, 75%, 76%)
CMYKcmyk(5.7%, 0%, 74.7%, 23.9%)
CIE-LABlab(75.37, -21.11, 66.52)
CIE-LCHlch(75.37, 69.79, 107.61°)
OKLaboklab(78.05% -0.0649 0.1463)
OKLCHoklch(78.05% 0.16 113.9)
XYZxyz(39.3758, 48.8734, 10.2644)
Luminance0.4887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C231 #3C31C2
analogous
#C28531 #B7C231 #6EC231
triadic
#B7C231 #31B7C2 #C231B7
tetradic
#B7C231 #31C285 #3C31C2 #C2316E
square
#B7C231 #31C285 #3C31C2 #C2316E
split-complementary
#B7C231 #316EC2 #8531C2
monochromatic
#5B6018 #899125 #B7C231 #CCD65B #DBE28C

Accessibility & contrast

On white

1.95
#B7C231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#B7C231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C231
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C231#FFFFFF#000000##000000
##B7C2311.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B80E
Deuteranopia (green-blind)
#D0BB3D
Tritanopia (blue-blind)
#C3B6A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b7c231;
/* rgb */ color: rgb(183, 194, 49);
/* oklch */ color: oklch(78.0% 0.160 113.9);
Tailwind
colors: {
  custom: {
    50: '#d0d474',
    500: '#b7c231',
    950: '#000000',
  },
}
SCSS
$custom: #b7c231;
$custom-light: #d0d474;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c231",
  "rgb": {
    "r": 183,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 64.552,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.78046,
    "c": 0.16006,
    "h": 113.9
  },
  "luminance": 0.48873
}

Semantic roles & 50–950 ramp

primary
#B7C231
secondary
#8883CC
accent
#45E351
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7C231

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

Preview Lab → · Contrast checker → · Palette generator →

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