#CFB236#CFB236

#CFB236 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.8% C 0.140 H 95.4°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#CFB236
RGBrgb(207, 178, 54)
HSLhsl(49, 61%, 51%)
HSVhsv(49, 74%, 81%)
CMYKcmyk(0%, 14%, 73.9%, 18.8%)
CIE-LABlab(73.14, -2.41, 63.40)
CIE-LCHlch(73.14, 63.44, 92.18°)
OKLaboklab(76.77% -0.0132 0.1397)
OKLCHoklch(76.77% 0.14 95.4)
XYZxyz(42.3206, 45.3749, 10.0184)
Luminance0.4537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB236 #3653CF
analogous
#CF6536 #CFB236 #A0CF36
triadic
#CFB236 #36CFB2 #B236CF
tetradic
#CFB236 #36CF65 #3653CF #CF36A0
square
#CFB236 #36CF65 #3653CF #CF36A0
split-complementary
#CFB236 #36A0CF #6536CF
monochromatic
#70601B #A18A27 #CFB236 #DBC567 #E7D899

Accessibility & contrast

On white

2.08
#CFB236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#CFB236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB236
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB236#FFFFFF#000000##000000
##CFB2361.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE21
Deuteranopia (green-blind)
#CCB73E
Tritanopia (blue-blind)
#E0A49A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb236;
/* rgb */ color: rgb(207, 178, 54);
/* oklch */ color: oklch(76.8% 0.140 95.4);
Tailwind
colors: {
  custom: {
    50: '#e2c876',
    500: '#cfb236',
    950: '#000000',
  },
}
SCSS
$custom: #cfb236;
$custom-light: #e2c876;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb236",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 48.627,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76767,
    "c": 0.14031,
    "h": 95.4
  },
  "luminance": 0.45373
}

Semantic roles & 50–950 ramp

primary
#CFB236
secondary
#8F9BD2
accent
#62E543
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CFB236

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

Preview Lab → · Contrast checker → · Palette generator →

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