#B7C230#B7C230

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

Color values

HEX#B7C230
RGBrgb(183, 194, 48)
HSLhsl(65, 60%, 47%)
HSVhsv(65, 75%, 76%)
CMYKcmyk(5.7%, 0%, 75.3%, 23.9%)
CIE-LABlab(75.37, -21.16, 66.83)
CIE-LCHlch(75.37, 70.10, 107.56°)
OKLaboklab(78.04% -0.0651 0.1468)
OKLCHoklch(78.04% 0.161 113.9)
XYZxyz(39.3549, 48.8651, 10.1545)
Luminance0.4886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C230 #3B30C2
analogous
#C28430 #B7C230 #6EC230
triadic
#B7C230 #30B7C2 #C230B7
tetradic
#B7C230 #30C284 #3B30C2 #C2306E
square
#B7C230 #30C284 #3B30C2 #C2306E
split-complementary
#B7C230 #306EC2 #8430C2
monochromatic
#5A6018 #899124 #B7C230 #CDD659 #DCE28A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7C230#FFFFFF#000000##000000
##B7C2301.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)
#D0B80B
Deuteranopia (green-blind)
#D0BB3D
Tritanopia (blue-blind)
#C3B6A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b7c230;
/* rgb */ color: rgb(183, 194, 48);
/* oklch */ color: oklch(78.0% 0.161 113.9);
Tailwind
colors: {
  custom: {
    50: '#d0d474',
    500: '#b7c230',
    950: '#000000',
  },
}
SCSS
$custom: #b7c230;
$custom-light: #d0d474;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c230",
  "rgb": {
    "r": 183,
    "g": 194,
    "b": 48
  },
  "hsl": {
    "h": 64.521,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7804,
    "c": 0.16059,
    "h": 113.9
  },
  "luminance": 0.48864
}

Semantic roles & 50–950 ramp

primary
#B7C230
secondary
#8782CC
accent
#44E350
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7C230

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

Preview Lab → · Contrast checker → · Palette generator →

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