#C2B751#C2B751

#C2B751 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.8% C 0.124 H 103.2°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#C2B751
RGBrgb(194, 183, 81)
HSLhsl(54, 48%, 54%)
HSVhsv(54, 58%, 76%)
CMYKcmyk(0%, 5.7%, 58.2%, 23.9%)
CIE-LABlab(73.50, -9.01, 52.16)
CIE-LCHlch(73.50, 52.94, 99.80°)
OKLaboklab(76.85% -0.0282 0.1206)
OKLCHoklch(76.85% 0.124 103.2)
XYZxyz(40.6682, 45.9319, 14.5065)
Luminance0.4593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B751 #515CC2
analogous
#C27F51 #C2B751 #95C251
triadic
#C2B751 #51C2B7 #B751C2
tetradic
#C2B751 #51C27F #515CC2 #C25195
square
#C2B751 #51C27F #515CC2 #C25195
split-complementary
#C2B751 #5195C2 #7F51C2
monochromatic
#716A28 #9E9437 #C2B751 #D2CA7E #E2DDAC

Accessibility & contrast

On white

2.06
#C2B751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#C2B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B751
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B751#FFFFFF#000000##000000
##C2B7511.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B146
Deuteranopia (green-blind)
#C9B756
Tritanopia (blue-blind)
#CFACA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c2b751;
/* rgb */ color: rgb(194, 183, 81);
/* oklch */ color: oklch(76.8% 0.124 103.2);
Tailwind
colors: {
  custom: {
    50: '#d7cc85',
    500: '#c2b751',
    950: '#000000',
  },
}
SCSS
$custom: #c2b751;
$custom-light: #d7cc85;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b751",
  "rgb": {
    "r": 194,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 54.159,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76846,
    "c": 0.12386,
    "h": 103.2
  },
  "luminance": 0.4593
}

Semantic roles & 50–950 ramp

primary
#C2B751
secondary
#9FA4D0
accent
#5DD850
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B751

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

Preview Lab → · Contrast checker → · Palette generator →

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