#C2B145#C2B145

#C2B145 is a light, vivid yellow. Relative luminance 0.433; 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#C2B145
RGBrgb(194, 177, 69)
HSLhsl(52, 51%, 52%)
HSVhsv(52, 64%, 76%)
CMYKcmyk(0%, 8.8%, 64.4%, 23.9%)
CIE-LABlab(71.79, -6.71, 55.63)
CIE-LCHlch(71.79, 56.04, 96.87°)
OKLaboklab(75.45% -0.023 0.1263)
OKLCHoklch(75.45% 0.128 100.3)
XYZxyz(39.0461, 43.3450, 11.9388)
Luminance0.4334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B145 #4556C2
analogous
#C27345 #C2B145 #95C245
triadic
#C2B145 #45C2B1 #B145C2
tetradic
#C2B145 #45C273 #4556C2 #C24595
square
#C2B145 #45C273 #4556C2 #C24595
split-complementary
#C2B145 #4595C2 #7345C2
monochromatic
#6A6023 #988A32 #C2B145 #D1C473 #E0D8A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2B145#FFFFFF#000000##000000
##C2B1451.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)
#C1AC38
Deuteranopia (green-blind)
#C6B34B
Tritanopia (blue-blind)
#D0A59A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b145;
/* rgb */ color: rgb(194, 177, 69);
/* oklch */ color: oklch(75.5% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#d8c87e',
    500: '#c2b145',
    950: '#000000',
  },
}
SCSS
$custom: #c2b145;
$custom-light: #d8c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b145",
  "rgb": {
    "r": 194,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 51.84,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75451,
    "c": 0.1284,
    "h": 100.3
  },
  "luminance": 0.43343
}

Semantic roles & 50–950 ramp

primary
#C2B145
secondary
#969DCD
accent
#61DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B145

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

Preview Lab → · Contrast checker → · Palette generator →

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