#C8B23F#C8B23F

#C8B23F is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.2% C 0.134 H 98.2°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#C8B23F
RGBrgb(200, 178, 63)
HSLhsl(50, 55%, 52%)
HSVhsv(50, 69%, 78%)
CMYKcmyk(0%, 11%, 68.5%, 21.6%)
CIE-LABlab(72.55, -5.00, 59.11)
CIE-LCHlch(72.55, 59.32, 94.83°)
OKLaboklab(76.17% -0.0192 0.1325)
OKLCHoklch(76.17% 0.134 98.2)
XYZxyz(40.6389, 44.4810, 11.1468)
Luminance0.4448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B23F #3F55C8
analogous
#C86E3F #C8B23F #9AC83F
triadic
#C8B23F #3FC8B2 #B23FC8
tetradic
#C8B23F #3FC86E #3F55C8 #C83F9A
square
#C8B23F #3FC86E #3F55C8 #C83F9A
split-complementary
#C8B23F #3F9AC8 #6E3FC8
monochromatic
#6D611F #9D8B2D #C8B23F #D6C56F #E3D89E

Accessibility & contrast

On white

2.12
#C8B23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#C8B23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B23F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B23F#FFFFFF#000000##000000
##C8B23F1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE2F
Deuteranopia (green-blind)
#C9B546
Tritanopia (blue-blind)
#D7A59B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8b23f;
/* rgb */ color: rgb(200, 178, 63);
/* oklch */ color: oklch(76.2% 0.134 98.2);
Tailwind
colors: {
  custom: {
    50: '#dcc87a',
    500: '#c8b23f',
    950: '#000000',
  },
}
SCSS
$custom: #c8b23f;
$custom-light: #dcc87a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b23f",
  "rgb": {
    "r": 200,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 50.365,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76167,
    "c": 0.1339,
    "h": 98.2
  },
  "luminance": 0.44479
}

Semantic roles & 50–950 ramp

primary
#C8B23F
secondary
#939DD0
accent
#61DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#15130A
muted
#84827C

Preview Lab

Preview with #C8B23F

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

Preview Lab → · Contrast checker → · Palette generator →

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