#B7C031#B7C031

#B7C031 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.6% C 0.158 H 113.2°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#B7C031
RGBrgb(183, 192, 49)
HSLhsl(64, 59%, 47%)
HSVhsv(64, 74%, 75%)
CMYKcmyk(4.7%, 0%, 74.5%, 24.7%)
CIE-LABlab(74.82, -20.12, 66.00)
CIE-LCHlch(74.82, 69.00, 106.96°)
OKLaboklab(77.6% -0.0622 0.1452)
OKLCHoklch(77.6% 0.158 113.2)
XYZxyz(38.9337, 47.9892, 10.1170)
Luminance0.4799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C031 #3A31C0
analogous
#C08131 #B7C031 #70C031
triadic
#B7C031 #31B7C0 #C031B7
tetradic
#B7C031 #31C081 #3A31C0 #C03170
square
#B7C031 #31C081 #3A31C0 #C03170
split-complementary
#B7C031 #3170C0 #8131C0
monochromatic
#5A5E18 #898F25 #B7C031 #CDD559 #DCE18A

Accessibility & contrast

On white

1.98
#B7C031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#B7C031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C031
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C031#FFFFFF#000000##000000
##B7C0311.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB710
Deuteranopia (green-blind)
#CFBA3D
Tritanopia (blue-blind)
#C3B4A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b7c031;
/* rgb */ color: rgb(183, 192, 49);
/* oklch */ color: oklch(77.6% 0.158 113.2);
Tailwind
colors: {
  custom: {
    50: '#d0d274',
    500: '#b7c031',
    950: '#000000',
  },
}
SCSS
$custom: #b7c031;
$custom-light: #d0d274;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c031",
  "rgb": {
    "r": 183,
    "g": 192,
    "b": 49
  },
  "hsl": {
    "h": 63.776,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.77602,
    "c": 0.15795,
    "h": 113.2
  },
  "luminance": 0.47988
}

Semantic roles & 50–950 ramp

primary
#B7C031
secondary
#8682CB
accent
#45E34F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7C031

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

Preview Lab → · Contrast checker → · Palette generator →

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