#C1B23F#C1B23F

#C1B23F is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.5% C 0.134 H 101.8°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#C1B23F
RGBrgb(193, 178, 63)
HSLhsl(53, 51%, 50%)
HSVhsv(53, 67%, 76%)
CMYKcmyk(0%, 7.8%, 67.4%, 24.3%)
CIE-LABlab(71.92, -8.02, 58.26)
CIE-LCHlch(71.92, 58.81, 97.83°)
OKLaboklab(75.52% -0.0274 0.131)
OKLCHoklch(75.52% 0.134 101.8)
XYZxyz(38.8116, 43.5388, 11.0611)
Luminance0.4354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B23F #3F4EC1
analogous
#C1713F #C1B23F #8FC13F
triadic
#C1B23F #3FC1B2 #B23FC1
tetradic
#C1B23F #3FC171 #3F4EC1 #C13F8F
square
#C1B23F #3FC171 #3F4EC1 #C13F8F
split-complementary
#C1B23F #3F8FC1 #713FC1
monochromatic
#655D21 #938830 #C1B23F #D0C56D #DFD79C

Accessibility & contrast

On white

2.16
#C1B23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#C1B23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B23F
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B23F#FFFFFF#000000##000000
##C1B23F1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD2F
Deuteranopia (green-blind)
#C6B346
Tritanopia (blue-blind)
#CFA69A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c1b23f;
/* rgb */ color: rgb(193, 178, 63);
/* oklch */ color: oklch(75.5% 0.134 101.8);
Tailwind
colors: {
  custom: {
    50: '#d7c87a',
    500: '#c1b23f',
    950: '#000000',
  },
}
SCSS
$custom: #c1b23f;
$custom-light: #d7c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b23f",
  "rgb": {
    "r": 193,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 53.077,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75518,
    "c": 0.13378,
    "h": 101.8
  },
  "luminance": 0.43537
}

Semantic roles & 50–950 ramp

primary
#C1B23F
secondary
#9198CB
accent
#5DDB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C1B23F

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

Preview Lab → · Contrast checker → · Palette generator →

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