#C2B748#C2B748

#C2B748 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.8% C 0.131 H 103.7°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#C2B748
RGBrgb(194, 183, 72)
HSLhsl(55, 50%, 52%)
HSVhsv(55, 63%, 76%)
CMYKcmyk(0%, 5.7%, 62.9%, 23.9%)
CIE-LABlab(73.42, -9.64, 56.08)
CIE-LCHlch(73.42, 56.90, 99.75°)
OKLaboklab(76.75% -0.031 0.1277)
OKLCHoklch(76.75% 0.131 103.7)
XYZxyz(40.3528, 45.8057, 12.8454)
Luminance0.4580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B748 #4853C2
analogous
#C27A48 #C2B748 #90C248
triadic
#C2B748 #48C2B7 #B748C2
tetradic
#C2B748 #48C27A #4853C2 #C24890
square
#C2B748 #48C27A #4853C2 #C24890
split-complementary
#C2B748 #4890C2 #7A48C2
monochromatic
#6C6524 #9A9033 #C2B748 #D1C976 #E1DBA4

Accessibility & contrast

On white

2.07
#C2B748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#C2B748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B748
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B748#FFFFFF#000000##000000
##C2B7481.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13B
Deuteranopia (green-blind)
#CAB74E
Tritanopia (blue-blind)
#D0ABA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c2b748;
/* rgb */ color: rgb(194, 183, 72);
/* oklch */ color: oklch(76.8% 0.131 103.7);
Tailwind
colors: {
  custom: {
    50: '#d7cc80',
    500: '#c2b748',
    950: '#000000',
  },
}
SCSS
$custom: #c2b748;
$custom-light: #d7cc80;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b748",
  "rgb": {
    "r": 194,
    "g": 183,
    "b": 72
  },
  "hsl": {
    "h": 54.59,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76754,
    "c": 0.13143,
    "h": 103.7
  },
  "luminance": 0.45804
}

Semantic roles & 50–950 ramp

primary
#C2B748
secondary
#989DCE
accent
#5BDA4E
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B748

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

Preview Lab → · Contrast checker → · Palette generator →

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