#C4B23F#C4B23F

#C4B23F is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.8% C 0.134 H 100.3°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#C4B23F
RGBrgb(196, 178, 63)
HSLhsl(52, 53%, 51%)
HSVhsv(52, 68%, 77%)
CMYKcmyk(0%, 9.2%, 67.9%, 23.1%)
CIE-LABlab(72.19, -6.72, 58.62)
CIE-LCHlch(72.19, 59.01, 96.54°)
OKLaboklab(75.79% -0.0239 0.1316)
OKLCHoklch(75.79% 0.134 100.3)
XYZxyz(39.5843, 43.9372, 11.0973)
Luminance0.4394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B23F #3F51C4
analogous
#C46F3F #C4B23F #93C43F
triadic
#C4B23F #3FC4B2 #B23FC4
tetradic
#C4B23F #3FC46F #3F51C4 #C43F93
square
#C4B23F #3FC46F #3F51C4 #C43F93
split-complementary
#C4B23F #3F93C4 #6F3FC4
monochromatic
#685F20 #97892E #C4B23F #D2C56E #E1D89D

Accessibility & contrast

On white

2.15
#C4B23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#C4B23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B23F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B23F#FFFFFF#000000##000000
##C4B23F1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD2F
Deuteranopia (green-blind)
#C8B446
Tritanopia (blue-blind)
#D3A59B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c4b23f;
/* rgb */ color: rgb(196, 178, 63);
/* oklch */ color: oklch(75.8% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#d9c87a',
    500: '#c4b23f',
    950: '#000000',
  },
}
SCSS
$custom: #c4b23f;
$custom-light: #d9c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b23f",
  "rgb": {
    "r": 196,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 51.88,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75794,
    "c": 0.13377,
    "h": 100.3
  },
  "luminance": 0.43935
}

Semantic roles & 50–950 ramp

primary
#C4B23F
secondary
#929ACD
accent
#5FDC4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B23F

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

Preview Lab → · Contrast checker → · Palette generator →

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