#C2B146#C2B146

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

Color values

HEX#C2B146
RGBrgb(194, 177, 70)
HSLhsl(52, 50%, 52%)
HSVhsv(52, 64%, 76%)
CMYKcmyk(0%, 8.8%, 63.9%, 23.9%)
CIE-LABlab(71.80, -6.64, 55.21)
CIE-LCHlch(71.80, 55.61, 96.86°)
OKLaboklab(75.46% -0.0227 0.1256)
OKLCHoklch(75.46% 0.128 100.3)
XYZxyz(39.0774, 43.3575, 12.1036)
Luminance0.4336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B146 #4657C2
analogous
#C27346 #C2B146 #95C246
triadic
#C2B146 #46C2B1 #B146C2
tetradic
#C2B146 #46C273 #4657C2 #C24695
square
#C2B146 #46C273 #4657C2 #C24695
split-complementary
#C2B146 #4695C2 #7346C2
monochromatic
#6A6123 #998A32 #C2B146 #D1C474 #E0D8A2

Accessibility & contrast

On white

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

On black

9.67
#C2B146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B146
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B146#FFFFFF#000000##000000
##C2B1461.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC39
Deuteranopia (green-blind)
#C6B34C
Tritanopia (blue-blind)
#D0A59A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b146;
/* rgb */ color: rgb(194, 177, 70);
/* oklch */ color: oklch(75.5% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#d7c87e',
    500: '#c2b146',
    950: '#000000',
  },
}
SCSS
$custom: #c2b146;
$custom-light: #d7c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b146",
  "rgb": {
    "r": 194,
    "g": 177,
    "b": 70
  },
  "hsl": {
    "h": 51.774,
    "s": 50.407,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75461,
    "c": 0.12761,
    "h": 100.3
  },
  "luminance": 0.43356
}

Semantic roles & 50–950 ramp

primary
#C2B146
secondary
#979ECD
accent
#61DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B146

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

Preview Lab → · Contrast checker → · Palette generator →

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