#B7C12F#B7C12F

#B7C12F is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.8% C 0.160 H 113.6°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#B7C12F
RGBrgb(183, 193, 47)
HSLhsl(64, 61%, 47%)
HSVhsv(64, 76%, 76%)
CMYKcmyk(5.2%, 0%, 75.6%, 24.3%)
CIE-LABlab(75.08, -20.70, 66.89)
CIE-LCHlch(75.08, 70.02, 107.20°)
OKLaboklab(77.81% -0.064 0.1467)
OKLCHoklch(77.81% 0.16 113.6)
XYZxyz(39.1127, 48.4133, 9.9731)
Luminance0.4841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C12F #392FC1
analogous
#C1822F #B7C12F #6EC12F
triadic
#B7C12F #2FB7C1 #C12FB7
tetradic
#B7C12F #2FC182 #392FC1 #C12F6E
square
#B7C12F #2FC182 #392FC1 #C12F6E
split-complementary
#B7C12F #2F6EC1 #822FC1
monochromatic
#5A5F17 #889023 #B7C12F #CDD657 #DCE288

Accessibility & contrast

On white

1.97
#B7C12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#B7C12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C12F
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C12F#FFFFFF#000000##000000
##B7C12F1.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B708
Deuteranopia (green-blind)
#CFBA3C
Tritanopia (blue-blind)
#C3B5A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b7c12f;
/* rgb */ color: rgb(183, 193, 47);
/* oklch */ color: oklch(77.8% 0.160 113.6);
Tailwind
colors: {
  custom: {
    50: '#d0d373',
    500: '#b7c12f',
    950: '#000000',
  },
}
SCSS
$custom: #b7c12f;
$custom-light: #d0d373;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c12f",
  "rgb": {
    "r": 183,
    "g": 193,
    "b": 47
  },
  "hsl": {
    "h": 64.11,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.77812,
    "c": 0.16007,
    "h": 113.6
  },
  "luminance": 0.48412
}

Semantic roles & 50–950 ramp

primary
#B7C12F
secondary
#8580CC
accent
#44E44F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7C12F

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

Preview Lab → · Contrast checker → · Palette generator →

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