#C2B348#C2B348

#C2B348 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.9% C 0.128 H 101.3°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#C2B348
RGBrgb(194, 179, 72)
HSLhsl(53, 50%, 52%)
HSVhsv(53, 63%, 76%)
CMYKcmyk(0%, 7.7%, 62.9%, 23.9%)
CIE-LABlab(72.35, -7.56, 54.93)
CIE-LCHlch(72.35, 55.45, 97.84°)
OKLaboklab(75.9% -0.0251 0.1253)
OKLCHoklch(75.9% 0.128 101.3)
XYZxyz(39.5395, 44.1790, 12.5743)
Luminance0.4418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B348 #4857C2
analogous
#C27648 #C2B348 #94C248
triadic
#C2B348 #48C2B3 #B348C2
tetradic
#C2B348 #48C276 #4857C2 #C24894
square
#C2B348 #48C276 #4857C2 #C24894
split-complementary
#C2B348 #4894C2 #7648C2
monochromatic
#6C6324 #9A8D33 #C2B348 #D1C676 #E1D9A4

Accessibility & contrast

On white

2.14
#C2B348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#C2B348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B348
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B348#FFFFFF#000000##000000
##C2B3481.002.149.849.84
#FFFFFF2.141.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3B
Deuteranopia (green-blind)
#C7B44E
Tritanopia (blue-blind)
#D0A79C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2b348;
/* rgb */ color: rgb(194, 179, 72);
/* oklch */ color: oklch(75.9% 0.128 101.3);
Tailwind
colors: {
  custom: {
    50: '#d7c980',
    500: '#c2b348',
    950: '#000000',
  },
}
SCSS
$custom: #c2b348;
$custom-light: #d7c980;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b348",
  "rgb": {
    "r": 194,
    "g": 179,
    "b": 72
  },
  "hsl": {
    "h": 52.623,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75903,
    "c": 0.12776,
    "h": 101.3
  },
  "luminance": 0.44177
}

Semantic roles & 50–950 ramp

primary
#C2B348
secondary
#989FCE
accent
#5FDA4E
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B348

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

Preview Lab → · Contrast checker → · Palette generator →

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