#C2B148#C2B148

#C2B148 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.5% C 0.126 H 100.1°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#C2B148
RGBrgb(194, 177, 72)
HSLhsl(52, 50%, 52%)
HSVhsv(52, 63%, 76%)
CMYKcmyk(0%, 8.8%, 62.9%, 23.9%)
CIE-LABlab(71.81, -6.52, 54.35)
CIE-LCHlch(71.81, 54.74, 96.84°)
OKLaboklab(75.48% -0.0221 0.1241)
OKLCHoklch(75.48% 0.126 100.1)
XYZxyz(39.1416, 43.3832, 12.4417)
Luminance0.4338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B148 #4859C2
analogous
#C27448 #C2B148 #96C248
triadic
#C2B148 #48C2B1 #B148C2
tetradic
#C2B148 #48C274 #4859C2 #C24896
square
#C2B148 #48C274 #4859C2 #C24896
split-complementary
#C2B148 #4896C2 #7448C2
monochromatic
#6C6224 #9A8B33 #C2B148 #D1C576 #E1D8A4

Accessibility & contrast

On white

2.17
#C2B148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#C2B148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B148
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B148#FFFFFF#000000##000000
##C2B1481.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC3C
Deuteranopia (green-blind)
#C6B34E
Tritanopia (blue-blind)
#D0A59B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b148;
/* rgb */ color: rgb(194, 177, 72);
/* oklch */ color: oklch(75.5% 0.126 100.1);
Tailwind
colors: {
  custom: {
    50: '#d7c87f',
    500: '#c2b148',
    950: '#000000',
  },
}
SCSS
$custom: #c2b148;
$custom-light: #d7c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b148",
  "rgb": {
    "r": 194,
    "g": 177,
    "b": 72
  },
  "hsl": {
    "h": 51.639,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7548,
    "c": 0.12601,
    "h": 100.1
  },
  "luminance": 0.43381
}

Semantic roles & 50–950 ramp

primary
#C2B148
secondary
#98A0CE
accent
#62DA4E
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B148

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

Preview Lab → · Contrast checker → · Palette generator →

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