#C2B937#C2B937

#C2B937 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.0% C 0.145 H 105.3°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#C2B937
RGBrgb(194, 185, 55)
HSLhsl(56, 56%, 49%)
HSVhsv(56, 72%, 76%)
CMYKcmyk(0%, 4.6%, 71.6%, 23.9%)
CIE-LABlab(73.83, -11.62, 63.30)
CIE-LCHlch(73.83, 64.36, 100.40°)
OKLaboklab(77.04% -0.0385 0.1402)
OKLCHoklch(77.04% 0.145 105.3)
XYZxyz(40.2883, 46.4446, 10.4562)
Luminance0.4644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B937 #3740C2
analogous
#C27437 #C2B937 #86C237
triadic
#C2B937 #37C2B9 #B937C2
tetradic
#C2B937 #37C274 #3740C2 #C23786
square
#C2B937 #37C274 #3740C2 #C23786
split-complementary
#C2B937 #3786C2 #7437C2
monochromatic
#635E1C #928C29 #C2B937 #D3CC63 #E0DB93

Accessibility & contrast

On white

2.04
#C2B937 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#C2B937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B937
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B937#FFFFFF#000000##000000
##C2B9371.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B220
Deuteranopia (green-blind)
#CCB840
Tritanopia (blue-blind)
#D0ACA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c2b937;
/* rgb */ color: rgb(194, 185, 55);
/* oklch */ color: oklch(77.0% 0.145 105.3);
Tailwind
colors: {
  custom: {
    50: '#d8cd77',
    500: '#c2b937',
    950: '#000000',
  },
}
SCSS
$custom: #c2b937;
$custom-light: #d8cd77;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b937",
  "rgb": {
    "r": 194,
    "g": 185,
    "b": 55
  },
  "hsl": {
    "h": 56.115,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77044,
    "c": 0.14534,
    "h": 105.3
  },
  "luminance": 0.46443
}

Semantic roles & 50–950 ramp

primary
#C2B937
secondary
#898ECB
accent
#52DF49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B937

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

Preview Lab → · Contrast checker → · Palette generator →

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