#B7C945#B7C945

#B7C945 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 79.7% C 0.155 H 116.7°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#B7C945
RGBrgb(183, 201, 69)
HSLhsl(68, 55%, 53%)
HSVhsv(68, 66%, 79%)
CMYKcmyk(9%, 0%, 65.7%, 21.2%)
CIE-LABlab(77.44, -23.48, 61.30)
CIE-LCHlch(77.44, 65.64, 110.96°)
OKLaboklab(79.75% -0.0697 0.1386)
OKLCHoklch(79.75% 0.155 116.7)
XYZxyz(41.4902, 52.2708, 13.5326)
Luminance0.5227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C945 #5745C9
analogous
#C99945 #B7C945 #75C945
triadic
#B7C945 #45B7C9 #C945B7
tetradic
#B7C945 #45C999 #5745C9 #C94575
square
#B7C945 #45C999 #5745C9 #C94575
split-complementary
#B7C945 #4575C9 #9945C9
monochromatic
#677221 #92A22F #B7C945 #C9D774 #DCE5A4

Accessibility & contrast

On white

1.83
#B7C945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#B7C945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C945
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C945#FFFFFF#000000##000000
##B7C9451.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF33
Deuteranopia (green-blind)
#D5C04E
Tritanopia (blue-blind)
#C2BEAE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b7c945;
/* rgb */ color: rgb(183, 201, 69);
/* oklch */ color: oklch(79.7% 0.155 116.7);
Tailwind
colors: {
  custom: {
    50: '#d0d97f',
    500: '#b7c945',
    950: '#000000',
  },
}
SCSS
$custom: #b7c945;
$custom-light: #d0d97f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c945",
  "rgb": {
    "r": 183,
    "g": 201,
    "b": 69
  },
  "hsl": {
    "h": 68.182,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79747,
    "c": 0.1551,
    "h": 116.7
  },
  "luminance": 0.5227
}

Semantic roles & 50–950 ramp

primary
#B7C945
secondary
#40377B
accent
#49DE5E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B7C945

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

Preview Lab → · Contrast checker → · Palette generator →

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