#C2B74B#C2B74B

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

Color values

HEX#C2B74B
RGBrgb(194, 183, 75)
HSLhsl(54, 49%, 53%)
HSVhsv(54, 61%, 76%)
CMYKcmyk(0%, 5.7%, 61.3%, 23.9%)
CIE-LABlab(73.45, -9.44, 54.80)
CIE-LCHlch(73.45, 55.61, 99.77°)
OKLaboklab(76.78% -0.0301 0.1254)
OKLCHoklch(76.78% 0.129 103.5)
XYZxyz(40.4531, 45.8458, 13.3735)
Luminance0.4584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B74B #4B56C2
analogous
#C27C4B #C2B74B #91C24B
triadic
#C2B74B #4BC2B7 #B74BC2
tetradic
#C2B74B #4BC27C #4B56C2 #C24B91
square
#C2B74B #4BC27C #4B56C2 #C24B91
split-complementary
#C2B74B #4B91C2 #7C4BC2
monochromatic
#6D6725 #9B9235 #C2B74B #D1C979 #E1DCA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2B74B#FFFFFF#000000##000000
##C2B74B1.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)
#C6B13F
Deuteranopia (green-blind)
#CAB751
Tritanopia (blue-blind)
#D0ABA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c2b74b;
/* rgb */ color: rgb(194, 183, 75);
/* oklch */ color: oklch(76.8% 0.129 103.5);
Tailwind
colors: {
  custom: {
    50: '#d7cc82',
    500: '#c2b74b',
    950: '#000000',
  },
}
SCSS
$custom: #c2b74b;
$custom-light: #d7cc82;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b74b",
  "rgb": {
    "r": 194,
    "g": 183,
    "b": 75
  },
  "hsl": {
    "h": 54.454,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76783,
    "c": 0.12899,
    "h": 103.5
  },
  "luminance": 0.45844
}

Semantic roles & 50–950 ramp

primary
#C2B74B
secondary
#9B9FCE
accent
#5CD94F
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B74B

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

Preview Lab → · Contrast checker → · Palette generator →

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