#C2B93B#C2B93B

#C2B93B is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.1% C 0.143 H 105.2°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#C2B93B
RGBrgb(194, 185, 59)
HSLhsl(56, 53%, 50%)
HSVhsv(56, 70%, 76%)
CMYKcmyk(0%, 4.6%, 69.6%, 23.9%)
CIE-LABlab(73.86, -11.42, 61.83)
CIE-LCHlch(73.86, 62.88, 100.46°)
OKLaboklab(77.07% -0.0375 0.1378)
OKLCHoklch(77.07% 0.143 105.2)
XYZxyz(40.3881, 46.4845, 10.9818)
Luminance0.4648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B93B #3B44C2
analogous
#C2763B #C2B93B #88C23B
triadic
#C2B93B #3BC2B9 #B93BC2
tetradic
#C2B93B #3BC276 #3B44C2 #C23B88
square
#C2B93B #3BC276 #3B44C2 #C23B88
split-complementary
#C2B93B #3B88C2 #763BC2
monochromatic
#645F1E #938C2D #C2B93B #D1CA69 #E0DB98

Accessibility & contrast

On white

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

On black

10.30
#C2B93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B93B
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B93B#FFFFFF#000000##000000
##C2B93B1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B227
Deuteranopia (green-blind)
#CCB843
Tritanopia (blue-blind)
#D0ADA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c2b93b;
/* rgb */ color: rgb(194, 185, 59);
/* oklch */ color: oklch(77.1% 0.143 105.2);
Tailwind
colors: {
  custom: {
    50: '#d8cd79',
    500: '#c2b93b',
    950: '#000000',
  },
}
SCSS
$custom: #c2b93b;
$custom-light: #d8cd79;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b93b",
  "rgb": {
    "r": 194,
    "g": 185,
    "b": 59
  },
  "hsl": {
    "h": 56,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77073,
    "c": 0.14279,
    "h": 105.2
  },
  "luminance": 0.46483
}

Semantic roles & 50–950 ramp

primary
#C2B93B
secondary
#8E92CB
accent
#55DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B93B

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

Preview Lab → · Contrast checker → · Palette generator →

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