#C2B74A#C2B74A

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

Color values

HEX#C2B74A
RGBrgb(194, 183, 74)
HSLhsl(55, 50%, 53%)
HSVhsv(55, 62%, 76%)
CMYKcmyk(0%, 5.7%, 61.9%, 23.9%)
CIE-LABlab(73.44, -9.50, 55.23)
CIE-LCHlch(73.44, 56.04, 99.76°)
OKLaboklab(76.77% -0.0304 0.1262)
OKLCHoklch(76.77% 0.13 103.6)
XYZxyz(40.4191, 45.8322, 13.1946)
Luminance0.4583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B74A #4A55C2
analogous
#C27B4A #C2B74A #91C24A
triadic
#C2B74A #4AC2B7 #B74AC2
tetradic
#C2B74A #4AC27B #4A55C2 #C24A91
square
#C2B74A #4AC27B #4A55C2 #C24A91
split-complementary
#C2B74A #4A91C2 #7B4AC2
monochromatic
#6D6625 #9B9134 #C2B74A #D1C978 #E1DBA6

Accessibility & contrast

On white

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

On black

10.17
#C2B74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B74A
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B74A#FFFFFF#000000##000000
##C2B74A1.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2b74a;
/* rgb */ color: rgb(194, 183, 74);
/* oklch */ color: oklch(76.8% 0.130 103.6);
Tailwind
colors: {
  custom: {
    50: '#d7cc81',
    500: '#c2b74a',
    950: '#000000',
  },
}
SCSS
$custom: #c2b74a;
$custom-light: #d7cc81;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b74a",
  "rgb": {
    "r": 194,
    "g": 183,
    "b": 74
  },
  "hsl": {
    "h": 54.5,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76774,
    "c": 0.12982,
    "h": 103.6
  },
  "luminance": 0.45831
}

Semantic roles & 50–950 ramp

primary
#C2B74A
secondary
#9A9FCE
accent
#5BD94F
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B74A

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

Preview Lab → · Contrast checker → · Palette generator →

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